Skip to content

Commit

Permalink
chore(ci): publish gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Jun 9, 2024
1 parent fadd1dd commit f819ef0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v4

- name: Get short SHA
id: short-sha
run: echo "::set-output name=sha7::$(git rev-parse --short=7 ${{ github.sha }})"
- name: Setup Short SHA
id: vars
run: echo "SHORT_SHA=$(echo ${GITHUB_SHA::7})" >> $GITHUB_ENV

- name: Create release
uses: softprops/action-gh-release@v2
with:
files: ./*.tar.gz
tag_name: ${{ github.ref_name }}-${{ steps.short-sha.outputs.sha7 }}
name: ${{ github.ref_name }}-${{ steps.short-sha.outputs.sha7 }}
tag_name: ${{ github.ref_name }}-${{ env.SHORT_SHA }}
name: ${{ github.ref_name }}-${{ env.SHORT_SHA }}
draft: false
prerelease: false
env:
Expand Down

0 comments on commit f819ef0

Please sign in to comment.