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.
This commit is contained in:
Joshua M. Boniface
2025-02-17 01:45:51 -05:00
parent b9059907d8
commit 2cf4dca8fc

View File

@@ -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)