mirror of
https://github.com/gotson/komga.git
synced 2025-01-08 11:47:47 +08:00
ci: migrate to gradle/actions/setup-gradle@v3
This commit is contained in:
parent
5427eafc40
commit
54660876fa
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -122,14 +122,14 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: :komga:prepareThymeLeaf :komga:bootJar :komga-tray:jar
|
||||
env:
|
||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||
|
||||
- name: Generate OpenAPI docs
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
if: needs.version.outputs.should_release #only redo if the version changed
|
||||
with:
|
||||
arguments: :komga:generateOpenApiDocs
|
||||
@ -143,7 +143,7 @@ jobs:
|
||||
echo ""
|
||||
|
||||
- name: JReleaser Changelog append
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
if: needs.version.outputs.should_release #only redo if the version changed
|
||||
with:
|
||||
arguments: jreleaserChangelog
|
||||
@ -197,7 +197,7 @@ jobs:
|
||||
|
||||
- name: JReleaser Release
|
||||
if: inputs.github_release
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: jreleaserRelease
|
||||
env:
|
||||
@ -213,7 +213,7 @@ jobs:
|
||||
|
||||
- name: JReleaser Announce
|
||||
if: inputs.github_release
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: jreleaserAnnounce
|
||||
env:
|
||||
@ -233,7 +233,7 @@ jobs:
|
||||
|
||||
- name: JReleaser Publish
|
||||
if: inputs.docker_release
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: jreleaserPublish
|
||||
env:
|
||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: build :komga-tray:jar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user