Skip to content

Commit

Permalink
Node.js 20?
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium authored Jun 4, 2024
1 parent dc9dcb5 commit 5cd7b35
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4 # Updated to use Node.js 20

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4 # Updated to use Node.js 20
with:
java-version: '8'
distribution: 'temurin'

- name: Cache Gradle dependencies
uses: actions/cache@v3
uses: actions/cache@v4 # Updated to use Node.js 20
with:
path: |
~/.gradle/caches
Expand All @@ -41,19 +41,18 @@ jobs:
${{ runner.os }}-gradle-
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2 # Updated to use Node.js 20

- name: Build with Gradle
run: ./gradlew build

- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4 # Updated to use Node.js 20
with:
name: Package
path: build/libs

- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4 # Updated to use Node.js 20
with:
name: Package

0 comments on commit 5cd7b35

Please sign in to comment.