Skip to content

Commit

Permalink
fix: wrong prefix for github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Nov 18, 2024
1 parent c73c9d6 commit 9cc0f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
yarn install
yarn run build
- name: checksum
if: startsWith(github.ref,'regs/tags/')
if: startsWith(github.ref,'refs/tags/')
run: |
sha256sum dist/* > dist/sha256sum.txt
- name: Release
if: startsWith(github.ref,'regs/tags/')
if: startsWith(github.ref,'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: "dist/*"
Expand Down

0 comments on commit 9cc0f3d

Please sign in to comment.