|
@@ -27,7 +27,7 @@ jobs:
|
|
|
- name: Generate openapi.json
|
|
|
run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
|
|
|
- name: Upload openapi.json
|
|
|
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
|
|
+ uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
with:
|
|
|
name: openapi-head
|
|
|
retention-days: 14
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
- name: Generate openapi.json
|
|
|
run: dotnet test tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj -c Release --filter "Jellyfin.Server.Integration.Tests.OpenApiSpecTests"
|
|
|
- name: Upload openapi.json
|
|
|
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
|
|
+ uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
with:
|
|
|
name: openapi-base
|
|
|
retention-days: 14
|
|
@@ -80,12 +80,12 @@ jobs:
|
|
|
- openapi-base
|
|
|
steps:
|
|
|
- name: Download openapi-head
|
|
|
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
|
+ uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
|
|
|
with:
|
|
|
name: openapi-head
|
|
|
path: openapi-head
|
|
|
- name: Download openapi-base
|
|
|
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
|
+ uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
|
|
|
with:
|
|
|
name: openapi-base
|
|
|
path: openapi-base
|
|
@@ -158,7 +158,7 @@ jobs:
|
|
|
run: |-
|
|
|
echo "JELLYFIN_VERSION=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
|
|
|
- name: Download openapi-head
|
|
|
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
|
+ uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
|
|
|
with:
|
|
|
name: openapi-head
|
|
|
path: openapi-head
|
|
@@ -172,7 +172,7 @@ jobs:
|
|
|
strip_components: 1
|
|
|
target: "/srv/incoming/openapi/unstable/jellyfin-openapi-${{ env.JELLYFIN_VERSION }}"
|
|
|
- name: Move openapi.json (unstable) into place
|
|
|
- uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 # v1.2.0
|
|
|
+ uses: appleboy/ssh-action@8faa84277b88b6cd1455986f459aa66cf72bc8a3 # v1.2.1
|
|
|
with:
|
|
|
host: "${{ secrets.REPO_HOST }}"
|
|
|
username: "${{ secrets.REPO_USER }}"
|
|
@@ -220,7 +220,7 @@ jobs:
|
|
|
run: |-
|
|
|
echo "JELLYFIN_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
|
|
- name: Download openapi-head
|
|
|
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
|
|
+ uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
|
|
|
with:
|
|
|
name: openapi-head
|
|
|
path: openapi-head
|
|
@@ -234,7 +234,7 @@ jobs:
|
|
|
strip_components: 1
|
|
|
target: "/srv/incoming/openapi/stable/jellyfin-openapi-${{ env.JELLYFIN_VERSION }}"
|
|
|
- name: Move openapi.json (stable) into place
|
|
|
- uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 # v1.2.0
|
|
|
+ uses: appleboy/ssh-action@8faa84277b88b6cd1455986f459aa66cf72bc8a3 # v1.2.1
|
|
|
with:
|
|
|
host: "${{ secrets.REPO_HOST }}"
|
|
|
username: "${{ secrets.REPO_USER }}"
|