diff --git a/.github/workflows/deploy-js.yml b/.github/workflows/deploy-js.yml index 210cff5..8f6a5ba 100644 --- a/.github/workflows/deploy-js.yml +++ b/.github/workflows/deploy-js.yml @@ -8,7 +8,7 @@ on: env: JAVA_DISTRIBUTION: zulu - JAVA_VERSION: 17 + JAVA_VERSION: 21 # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -31,7 +31,7 @@ jobs: steps: - { uses: actions/checkout@v4 } - { name: Set up JDK, uses: actions/setup-java@v3, with: { distribution: "${{ env.JAVA_DISTRIBUTION }}", java-version: "${{ env.JAVA_VERSION }}" } } - - { name: Prepare Gradle, uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc } # v2.8.0 + - { name: Prepare Gradle, uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 } # v3.1.0 - { name: Buid JS bundle, run: ./gradlew jsBrowserProductionWebpack } - { name: Upload artifact, uses: actions/upload-pages-artifact@v3, with: { path: 'build/dist/js/productionExecutable' } } - { name: Deploy 🚀 to GitHub Pages, id: deployment, uses: actions/deploy-pages@v4} diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d66d4db..49b050a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -8,7 +8,7 @@ on: env: JAVA_DISTRIBUTION: zulu - JAVA_VERSION: 17 + JAVA_VERSION: 21 jobs: build: @@ -18,5 +18,5 @@ jobs: steps: - { uses: actions/checkout@v4 } - { name: Set up JDK, uses: actions/setup-java@v3, with: { distribution: "${{ env.JAVA_DISTRIBUTION }}", java-version: "${{ env.JAVA_VERSION }}" } } - - { name: Prepare Gradle, uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc } # v2.8.0 + - { name: Prepare Gradle, uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 } # v3.1.0 - { name: Build with Gradle, run: ./gradlew jvmTest }