Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EwyBoy committed Mar 11, 2024
1 parent e535fdc commit 69b5364
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ jobs:
run: chmod +x ./gradlew

- name: Build artifacts
run: ./gradlew clean build
run: |
if [ ${{ matrix.platform }} == "neoforge" ]; then
./gradlew clean neoforge:build
elif [ ${{ matrix.platform }} == "forge" ]; then
./gradlew clean forge:build
elif [ ${{ matrix.platform }} == "fabric" ]; then
./gradlew clean fabric:build
fi
- name: Upload build artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 69b5364

Please sign in to comment.