Skip to content

Commit

Permalink
fix: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZhengZhao committed Dec 5, 2024
1 parent f169055 commit 0fed78c
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,27 @@ jobs:
export GOARCH=amd64
bee pack -exr='.*.tar.gz' -a windows_amd64_feature -be GOOS=$GOOS GOARCH=$GOARCH
- name: Release
- name: Release Tag
uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
prerelease: false
files: |
linux_amd64_feature.tar.gz
windows_amd64_feature.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PERSONAL_ACCESS_TOKEN }}

- name: Release Master
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/heads/master')
with:
tag_name: Master
draft: false
prerelease: false
files: |
linux_amd64_feature.tar.gz
windows_amd64_feature.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 0fed78c

Please sign in to comment.