mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 15:02:16 +02:00
fix invalid artifact names on pull requests
This commit is contained in:
parent
53dc1ec9da
commit
afe4fe924f
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -7,8 +7,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
artifact_name: "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@ -24,7 +22,7 @@ jobs:
|
||||
id: upload-artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}"
|
||||
name: "${{ github.event.repository.name }}-${{ github.sha }}"
|
||||
path: dist
|
||||
- name: Trigger Deployment
|
||||
# only run on the main branch
|
||||
@ -37,5 +35,5 @@ jobs:
|
||||
"ref": "${{ github.ref }}",
|
||||
"sha": "${{ github.sha }}",
|
||||
"artifact-url": "${{ steps.upload-artifact.outputs.artifact-url }}",
|
||||
"artifact-name": "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}"
|
||||
"artifact-name": "${{ github.event.repository.name }}-${{ github.sha }}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user