Skip to content

Commit

Permalink
Removes hard coded main commit (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
HammerMeetNail authored Jan 13, 2022
1 parent 168df5f commit c84c989
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
version:
description: 'Version to release'
required: true
commit:
description: 'Commit to release'
required: true

concurrency:
group: limit-to-one
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit c84c989

Please sign in to comment.