From c84c98965396f8074858e8fe4f7fc6635db3ad71 Mon Sep 17 00:00:00 2001 From: Dave O'Connor <1656866+HammerMeetNail@users.noreply.github.com> Date: Thu, 13 Jan 2022 13:52:01 -0500 Subject: [PATCH] Removes hard coded main commit (#40) --- .github/workflows/jobs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jobs.yml b/.github/workflows/jobs.yml index 7e24e5c2..339352b1 100644 --- a/.github/workflows/jobs.yml +++ b/.github/workflows/jobs.yml @@ -12,6 +12,9 @@ on: version: description: 'Version to release' required: true + commit: + description: 'Commit to release' + required: true concurrency: group: limit-to-one @@ -267,7 +270,7 @@ jobs: name: "Publish Release" needs: ["build-install-zip"] runs-on: ubuntu-latest - if: github.event.inputs.version + if: github.event.inputs.version && github.event.inputs.commit steps: - name: Checkout uses: actions/checkout@v2 @@ -291,7 +294,7 @@ jobs: artifacts: "*.tar.gz,README.md" allowUpdates: true prerelease: true - commit: master + commit: ${{ github.event.inputs.commit }} name: ${{ github.event.inputs.version }} tag: ${{ github.event.inputs.version }} token: ${{ secrets.GITHUB_TOKEN }}