Fix commit sha values in actions

This commit is contained in:
Bill Thornton 2024-02-27 15:47:56 -05:00
parent b74a43d64d
commit 088c5e88d6

View File

@ -32,7 +32,7 @@ jobs:
- name: Run a production build
env:
JELLYFIN_VERSION: ${{ github.sha }}
JELLYFIN_VERSION: ${{ github.event.pull_request.head.sha || github.sha }}
run: npm run build:production
- name: Update config.json for testing
@ -58,7 +58,7 @@ jobs:
- name: Save PR context
env:
PR_NUMBER: ${{ github.event.number }}
PR_SHA: ${{ github.sha }}
PR_SHA: ${{ github.event.pull_request.head.sha }}
run: |
echo $PR_NUMBER > PR_number
echo $PR_SHA > PR_sha