deps(ci): bump gradle/actions from 3 to 4

This commit is contained in:
Gauthier Roebroeck 2024-08-23 15:14:39 +08:00
parent 6a51f3483a
commit 6482b3496a
3 changed files with 12 additions and 20 deletions

View File

@ -1,14 +0,0 @@
name: "Validate Gradle Wrapper"
on:
pull_request:
push:
branches-ignore:
- 'dependabot/**'
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3

View File

@ -90,13 +90,15 @@ jobs:
cache: 'npm'
cache-dependency-path: komga-webui/package-lock.json
- uses: actions/setup-java@v4
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: 21
java-package: 'jdk'
distribution: 'temurin'
- uses: actions/setup-java@v4
- name: Setup Java 17
uses: actions/setup-java@v4
with:
java-version: 17
java-package: 'jdk'
@ -121,7 +123,8 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: gradle/actions/setup-gradle@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew :komga:prepareThymeLeaf :komga:bootJar :komga-tray:jar

View File

@ -16,18 +16,21 @@ jobs:
name: Test server
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: 21
java-package: 'jdk'
distribution: 'temurin'
- uses: actions/setup-java@v4
- name: Setup Java 17
uses: actions/setup-java@v4
with:
java-version: 17
java-package: 'jdk'
distribution: 'temurin'
- uses: gradle/actions/setup-gradle@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew build :komga-tray:jar