Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Sep 30, 2024
1 parent 9e1bc85 commit d57d92e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:

steps:
- name: ✨ Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🛂 Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: 🏗 Set up JDK 21
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: 📷 Begin Gradle cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -36,7 +36,7 @@ jobs:
run: gradle build

- name: 📦 Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: '**/build/libs'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:

steps:
- name: ✨ Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🛂 Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2

- name: 🏗 Set up JDK 21
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 21
distribution: adopt
Expand Down

0 comments on commit d57d92e

Please sign in to comment.