ci: I think --ref can only be a branch/tag name...
parent
55798edc9b
commit
e1627a80e9
|
|
@ -281,7 +281,7 @@ jobs:
|
|||
|
||||
- name: Trigger Snap workflow
|
||||
run: |
|
||||
gh workflow run snap.yml --ref ${{ github.sha }} --field source-tarball-id=${{ needs.build-dist.outputs.artifact-id }}
|
||||
gh workflow run snap.yml --ref ${{ github.ref_name || 'main' }} --field source-tarball-id=${{ needs.build-dist.outputs.artifact-id }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue