github: Allow specifying either a commit or a branch for fetching artifacts
This commit is contained in:
1 parent
f03d94dbdc
commit
bf2e255b5f
1 file changed
+4
-1
@@ -4,7 +4,9 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
commit:
|
commit:
|
||||||
description: 'Commit to extract from'
|
description: 'Commit to extract from'
|
||||||
required: true
|
type: string
|
||||||
|
branch:
|
||||||
|
description: 'Branch to extract from'
|
||||||
type: string
|
type: string
|
||||||
tag:
|
tag:
|
||||||
description: 'Tag to upload to'
|
description: 'Tag to upload to'
|
||||||
@@ -26,6 +28,7 @@ jobs:
|
|||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
commit: ${{inputs.commit}}
|
commit: ${{inputs.commit}}
|
||||||
|
branch: ${{inputs.branch}}
|
||||||
event: push
|
event: push
|
||||||
- name: Rearrange files
|
- name: Rearrange files
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user