Skip to content

Commit

Permalink
update gh actions to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
19MisterX98 committed May 8, 2024
1 parent 0fd1d53 commit 0a20073
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Build
on:
push:
paths-ignore:
- 'readmes/*'
- '*.md'
pull_request:
workflow_dispatch:
Expand All @@ -15,18 +16,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 17
java-version: 21
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: |
./gradlew apiJar
./gradlew remapApiJar
./gradlew build
- name: Upload Artifact
Expand Down

0 comments on commit 0a20073

Please sign in to comment.