commit
d3bd34afa1
1 changed files with 13 additions and 13 deletions
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
|
|
@ -247,17 +247,17 @@ jobs:
|
||||||
path: ./build/curseforge/${{ needs.info.outputs.project_full_name }}-curseforge.zip
|
path: ./build/curseforge/${{ needs.info.outputs.project_full_name }}-curseforge.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: 📁 Rename artifact modrinth
|
# - name: 📁 Rename artifact modrinth
|
||||||
run: |
|
# run: |
|
||||||
cd ./build/modrinth/
|
# cd ./build/modrinth/
|
||||||
mv *.mrpack $(basename -s .mrpack *.mrpack)-modrinth.mrpack
|
# mv *.mrpack $(basename -s .mrpack *.mrpack)-modrinth.mrpack
|
||||||
|
|
||||||
- name: 🚀 Upload artifact modrinth
|
# - name: 🚀 Upload artifact modrinth
|
||||||
uses: actions/upload-artifact@v4.6.2
|
# uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
# with:
|
||||||
name: ${{ needs.info.outputs.project_full_name }}-modrinth
|
# name: ${{ needs.info.outputs.project_full_name }}-modrinth
|
||||||
path: ./build/modrinth/${{ needs.info.outputs.project_full_name }}-modrinth.mrpack
|
# path: ./build/modrinth/${{ needs.info.outputs.project_full_name }}-modrinth.mrpack
|
||||||
if-no-files-found: warn
|
# if-no-files-found: warn
|
||||||
|
|
||||||
build-server:
|
build-server:
|
||||||
name: 📦 Build Server
|
name: 📦 Build Server
|
||||||
|
|
@ -376,9 +376,9 @@ jobs:
|
||||||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-curseforge.zip ]; then
|
if [ ! -f ${{ needs.info.outputs.project_full_name }}-curseforge.zip ]; then
|
||||||
echo '::error::No value found for artifact `curseforge.zip`.' && exit 1
|
echo '::error::No value found for artifact `curseforge.zip`.' && exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-modrinth.mrpack ]; then
|
# if [ ! -f ${{ needs.info.outputs.project_full_name }}-modrinth.mrpack ]; then
|
||||||
echo '::error::No value found for artifact `modrinth.mrpack`.' && exit 1
|
# echo '::error::No value found for artifact `modrinth.mrpack`.' && exit 1
|
||||||
fi
|
# fi
|
||||||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-serverpack.zip ]; then
|
if [ ! -f ${{ needs.info.outputs.project_full_name }}-serverpack.zip ]; then
|
||||||
echo '::error::No value found for artifact `serverpack.zip`.' && exit 1
|
echo '::error::No value found for artifact `serverpack.zip`.' && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue