Skip to content

Commit

Permalink
Release build artifacts for JDK 21
Browse files Browse the repository at this point in the history
JDK 17 was not being used, so actifacts were never released
  • Loading branch information
4Ply committed Jan 1, 2025
1 parent fb49d72 commit bac7c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
run: ./gradlew build

- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/

- name: release
uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' && matrix.java == '17' }}
if: ${{ startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' && matrix.java == '21' }}
with:
make_latest: true
files: |
Expand Down

0 comments on commit bac7c2c

Please sign in to comment.