We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c33e17 commit 8764e63Copy full SHA for 8764e63
.github/workflows/release.yml
@@ -24,14 +24,16 @@ jobs:
24
contents: write
25
steps:
26
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
27
- - name: Import GPG key
28
- run: echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
+ with:
+ ref: 'master'
29
+ - name: Get the latest commit SHA
30
+ id: get-sha
31
+ run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
32
- name: Create release tag
33
uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72
34
with:
35
tag: ${{ inputs.version_number }}
- gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- gpg_passphrase: ${{ secrets.PASSPHRASE }}
36
+ commit_sha: ${{ steps.get-sha.outputs.sha }}
37
38
release:
39
needs: create-tag
0 commit comments