Skip to content

Commit

Permalink
please work :(
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Oct 16, 2023
1 parent f32b3f8 commit 766c1c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-multiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
path: ./build/libs/merged/*.jar

- name: send artifacts to webhook
if: success()
if: success() && ( -d build/libs/merged )
uses: appleboy/discord-action@v1.0.0
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
Expand Down
11 changes: 5 additions & 6 deletions buildAll
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ mkdir -p artifacts || true

for d in versionProperties/*; do
version=$(echo "$d" | sed "s/versionProperties\///" | sed "s/.properties//")

echo "==================== Cleaning workspace to build $version ===================="
sh gradlew clean -PmcVer="$version" --no-daemon || true
echo "====================Building $version ===================="
sh gradlew assemble -PmcVer="$version" --no-daemon || true
echo "==================== Moving jars ===================="
echo "=================================================== Cleaning workspace to build $version ==================================================="
sh gradlew clean -PmcVer="$version" || true
echo "============================================================ Building $version ============================================================"
sh gradlew assemble -PmcVer="$version" || true
echo "=============================================================== Moving jars ==============================================================="
echo ''
mv "forge/build/libs/*" "artifacts/$version/" || true
mv "fabric/build/libs/*" "artifacts/$version/" || true
Expand Down

0 comments on commit 766c1c0

Please sign in to comment.