mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Update github actions
This commit is contained in:
13
.github/workflows/Build.yml
vendored
13
.github/workflows/Build.yml
vendored
@@ -57,13 +57,14 @@ jobs:
|
||||
run:
|
||||
shell: ${{ matrix.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v3
|
||||
if: ${{ matrix.runtime != 'linux-fedora-x64' }}
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
architecture: ${{ matrix.arch }}
|
||||
|
||||
@@ -107,7 +108,7 @@ jobs:
|
||||
|
||||
# Upload runner package tar.gz/zip as artifact
|
||||
- name: Publish Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: runner-package-${{ matrix.runtime }}
|
||||
path: |
|
||||
@@ -118,7 +119,7 @@ jobs:
|
||||
|
||||
# Upload runner errors
|
||||
- name: Upload error logs
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: runner-errors-${{ matrix.runtime }}
|
||||
@@ -129,12 +130,12 @@ jobs:
|
||||
needs: [ BuildBinaries ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download Build Artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- name: Fix rpm java dependency
|
||||
uses: Syer10/Fedora-Java17-Action@v1
|
||||
|
||||
2
.github/workflows/Check.yml
vendored
2
.github/workflows/Check.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
13
.github/workflows/Preview.yml
vendored
13
.github/workflows/Preview.yml
vendored
@@ -57,13 +57,14 @@ jobs:
|
||||
run:
|
||||
shell: ${{ matrix.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v3
|
||||
if: ${{ matrix.runtime != 'linux-fedora-x64' }}
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
architecture: ${{ matrix.arch }}
|
||||
|
||||
@@ -115,7 +116,7 @@ jobs:
|
||||
|
||||
# Upload runner package tar.gz/zip as artifact
|
||||
- name: Publish Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: runner-package-${{ matrix.runtime }}
|
||||
path: |
|
||||
@@ -126,7 +127,7 @@ jobs:
|
||||
|
||||
# Upload runner errors
|
||||
- name: Upload error logs
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: runner-errors-${{ matrix.runtime }}
|
||||
@@ -137,12 +138,12 @@ jobs:
|
||||
needs: [ BuildBinaries ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download Build Artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- name: Fix rpm java dependency
|
||||
uses: Syer10/Fedora-Java17-Action@v1
|
||||
|
||||
5
.github/workflows/Update.yml
vendored
5
.github/workflows/Update.yml
vendored
@@ -15,10 +15,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
architecture: x64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user