diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 1ecd2c7..54ef5f2 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -439,9 +439,15 @@ jobs: echo "JELLYFIN_VERSION=$cleanVersion" | Out-File -FilePath $env:GITHUB_ENV -Append + - name: "Checkout repository" + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: "Prepare repository" + run: |- + python checkout.py ${{ inputs.version || 'master' }} + - name: "Fetch artifact from previous stage" uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 - working-directory: ./jellyfin-server-windows with: name: windows-x64 @@ -455,6 +461,7 @@ jobs: - name: "Extract Jellyfin server archive" working-directory: ./jellyfin-server-windows run: | + Move-Item -Path $(Resolve-Path ..\jellyfin_*-amd64.zip) -Destination $(Resolve-Path .\) Expand-Archive 'jellyfin_*-amd64.zip' Copy-Item ".\nssm\nssm.exe" -Destination $(Resolve-Path .\jellyfin\jellyfin)