github: Allow specifying either a commit or a branch for fetching artifacts

This commit is contained in:
Martin Storsjö committed 2023-06-01 11:23:04 +03:00
1 parent f03d94dbdc
commit bf2e255b5f
1 file changed
+4 -1
+4 -1
View File
@@ -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: |