Skip to content

Commit

Permalink
fix workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
peolic committed Dec 20, 2022
1 parent e04677a commit 2bb5753
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Build and release

on:
workflow_dispatch:
on:
release:
types: [created]

Expand Down Expand Up @@ -30,14 +29,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: latest
ldflags: -extldflags=-static -s -w
project_path: ./cmd/${{ matrix.project }}
asset_name: ${{ matrix.project }}-${{ matrix.goos }}-${{ matrix.goarch }}
overwrite: true
md5sum: true
sha256sum: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: latest
ldflags: -extldflags=-static -s -w
project_path: ./cmd/${{ matrix.project }}
asset_name: ${{ matrix.project }}-${{ matrix.goos }}-${{ matrix.goarch }}
overwrite: true
md5sum: true
sha256sum: true

0 comments on commit 2bb5753

Please sign in to comment.