From bf2e255b5fd2ad4f55bbe447ff809a867278c744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 1 Jun 2023 11:23:04 +0300 Subject: [PATCH] github: Allow specifying either a commit or a branch for fetching artifacts --- .github/workflows/upload-artifacts.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload-artifacts.yml b/.github/workflows/upload-artifacts.yml index 9c30609..0c8b865 100644 --- a/.github/workflows/upload-artifacts.yml +++ b/.github/workflows/upload-artifacts.yml @@ -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: |