1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix PR publish in GH actions

This commit is contained in:
Bill Thornton 2023-10-10 00:39:31 -04:00
parent e0f723a13a
commit a318b1d395
2 changed files with 26 additions and 0 deletions

View file

@ -39,3 +39,27 @@ jobs:
name: jellyfin-web__prod
path: |
dist
pr_context:
name: Save PR context as artifact
if: ${{ always() && !cancelled() && github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
needs:
- run-build-prod
steps:
- name: Save PR context
env:
PR_NUMBER: ${{ github.event.number }}
PR_SHA: ${{ github.sha }}
run: |
echo $PR_NUMBER > PR_number
echo $PR_SHA > PR_sha
- name: Upload PR number as artifact
uses: actions/upload-artifact@v3.1.3
with:
name: PR_context
path: |
PR_number
PR_sha

View file

@ -1,3 +1,5 @@
name: Publish
on:
workflow_run:
workflows: