mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-23 05:49:59 +00:00
Update gradle/actions action to v4
This commit is contained in:
parent
1177097622
commit
043e9de45b
2
.github/workflows/gradlew-validate.yaml
vendored
2
.github/workflows/gradlew-validate.yaml
vendored
@ -19,4 +19,4 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/wrapper-validation@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
|
2
.github/workflows/sdk-docs.yaml
vendored
2
.github/workflows/sdk-docs.yaml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run dokkaHtmlMultiModule task
|
||||
run: ./gradlew dokkaHtmlMultiModule
|
||||
- name: Create artifact
|
||||
|
2
.github/workflows/sdk-lint.yaml
vendored
2
.github/workflows/sdk-lint.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run detekt and lint tasks
|
||||
run: ./gradlew detekt lint
|
||||
- name: Upload SARIF files
|
||||
|
2
.github/workflows/sdk-publish.yaml
vendored
2
.github/workflows/sdk-publish.yaml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Set JELLYFIN_VERSION
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: echo "JELLYFIN_VERSION=$(echo ${GITHUB_REF#refs/tags/v} | tr / -)" >> $GITHUB_ENV
|
||||
|
6
.github/workflows/sdk-test.yaml
vendored
6
.github/workflows/sdk-test.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run test task
|
||||
run: ./gradlew test allTests
|
||||
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run apiCheck task
|
||||
run: ./gradlew apiCheck
|
||||
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run verifySources task
|
||||
run: ./gradlew verifySources
|
||||
|
||||
|
2
.github/workflows/sdk-unstable-branch.yaml
vendored
2
.github/workflows/sdk-unstable-branch.yaml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Run updateApiSpecUnstable task
|
||||
run: ./gradlew :openapi-generator:updateApiSpecUnstable
|
||||
- name: Run apiDump task
|
||||
|
2
.github/workflows/sdk-update-api-spec.yaml
vendored
2
.github/workflows/sdk-update-api-spec.yaml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Set STABLE_API_VERSION
|
||||
run: |
|
||||
VERSION=$(curl -sL https://repo.jellyfin.org/releases/openapi/jellyfin-openapi-stable.json | jq -r .info.version)
|
||||
|
Loading…
Reference in New Issue
Block a user