Skip to content

Commit e25d993

Browse files
authored
Merge pull request #21 from wmamills/wam-gh-action-unique-names
github: give tag and pdf names unique to owner fork and branch
2 parents 15f45be + a927c90 commit e25d993

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
with:
24-
tag_name: virio-msg-draft-v${{ github.run_number }} # Or a more meaningful tag
24+
tag_name: ${{github.ref_name}}-${{ github.repository_owner }}-draft-v${{ github.run_number }}
2525
release_name: Draft ${{ github.run_number }}
2626
draft: false
2727
prerelease: false
@@ -33,5 +33,5 @@ jobs:
3333
with:
3434
upload_url: ${{ steps.create_release.outputs.upload_url }}
3535
asset_path: virtio-v1.4-wd01.pdf
36-
asset_name: virtio-v1.4-wd01.pdf
36+
asset_name: ${{github.ref_name}}-${{ github.repository_owner }}-draft-v${{ github.run_number }}.pdf
3737
asset_content_type: application/pdf

0 commit comments

Comments
 (0)