Skip to content

Commit

Permalink
Adjusted workflows to meet Java 21 requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphoriker committed Apr 23, 2024
1 parent e7b98cf commit 050c196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/attach_jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v1

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
distribution: 'corretto'
java-package: 'jdk'
java-version: '17'
java-version: '21'

- name: Set up Maven
uses: stCarolas/setup-maven@v4.4
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: D:\a\pathetic\pathetic\pathetic-example\target\pathetic-example.jar
asset_name: pathetic-example.jar
asset_content_type: application/java-archive
asset_content_type: application/java-archive
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'adopt'

- name: Configure Build
Expand Down

0 comments on commit 050c196

Please sign in to comment.