Skip to content

Commit

Permalink
test another pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ginger51011 committed Oct 7, 2024
1 parent 66832d3 commit 316c1e3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Deploy
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
# - "[0-9]+.[0-9]+.[0-9]+"
- "*.*.*"

permissions:
contents: write
Expand Down Expand Up @@ -49,11 +50,11 @@ jobs:
tar -czf "$result" "$dirname"
shasum -a 256 "$result" > "$result.sha256"
echo "RESULT=$result" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
${{ env.RESULT }}
${{ env.RESULT }}.sha256
# - name: Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# generate_release_notes: true
# files: |
# ${{ env.RESULT }}
# ${{ env.RESULT }}.sha256

0 comments on commit 316c1e3

Please sign in to comment.