Skip to content

Commit

Permalink
Update Github workflow (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlsf authored Mar 8, 2022
1 parent cb4a1e3 commit 4b0739e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.0.0
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 16
uses: actions/setup-java@v2
- name: Set up JDK 17
uses: actions/setup-java@v3.0.0
with:
distribution: temurin
java-version: 16
java-version: 17
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -24,7 +24,8 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- name: Upload artifacts
uses: "actions/upload-artifact@v2.2.3"
uses: "actions/upload-artifact@v3.0.0"
with:
name: "IridiumSkyblock"
path: "build/libs/IridiumSkyblock-*.jar"
retention-days: 90

0 comments on commit 4b0739e

Please sign in to comment.