Skip to content

Commit

Permalink
create assets while push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gaohan085 committed Feb 27, 2024
1 parent 10527c9 commit 3a4f62d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/create-release-on-push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,33 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows]
goarch: [amd64]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
prerelease: true
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: videoserver
ldflags: "-X 'go-fiber-react-ts/lib.Version=${{ github.ref_name }}' "
compress_assets: OFF
md5sum: FALSE
sha256sum: TRUE

0 comments on commit 3a4f62d

Please sign in to comment.