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:
commit:
description: 'Commit to extract from'
required: true
type: string
branch:
description: 'Branch to extract from'
type: string
tag:
description: 'Tag to upload to'
@@ -26,6 +28,7 @@ jobs:
workflow: build.yml
workflow_conclusion: success
commit: ${{inputs.commit}}
branch: ${{inputs.branch}}
event: push
- name: Rearrange files
run: |