From 2cf4dca8fcd920b410d97eeae4743726d89313b8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 17 Feb 2025 01:45:51 -0500 Subject: [PATCH] Fix bugs with release build 1. Ensure we check out the repo during the Installer build. 2. Avoid the erroring working-directory on artifact fetch. 3. Move the item into place later. --- .github/workflows/release-build.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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)