mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5236 from thornbill/ci-build-version
This commit is contained in:
commit
65730613f1
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -31,6 +31,8 @@ jobs:
|
||||||
run: npm ci --no-audit
|
run: npm ci --no-audit
|
||||||
|
|
||||||
- name: Run a production build
|
- name: Run a production build
|
||||||
|
env:
|
||||||
|
JELLYFIN_VERSION: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
run: npm run build:production
|
run: npm run build:production
|
||||||
|
|
||||||
- name: Update config.json for testing
|
- name: Update config.json for testing
|
||||||
|
@ -56,7 +58,7 @@ jobs:
|
||||||
- name: Save PR context
|
- name: Save PR context
|
||||||
env:
|
env:
|
||||||
PR_NUMBER: ${{ github.event.number }}
|
PR_NUMBER: ${{ github.event.number }}
|
||||||
PR_SHA: ${{ github.sha }}
|
PR_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
run: |
|
run: |
|
||||||
echo $PR_NUMBER > PR_number
|
echo $PR_NUMBER > PR_number
|
||||||
echo $PR_SHA > PR_sha
|
echo $PR_SHA > PR_sha
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue