Skip to content

Commit

Permalink
update gh release action for v1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Mar 18, 2024
1 parent 8316cf6 commit cfb5b7a
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,39 @@ on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
release-linux-amd64:
name: create linux amd64 release
name: create and publish vault-raft-backup release
runs-on: ubuntu-latest
strategy:
matrix:
goos:
- linux
- windows
- darwin
goarch:
- '386'
- amd64
- arm64
exclude:
- goos: darwin
goarch: '386'
- goos: linux
goarch: '386'
- goos: windows
goarch: arm64
steps:
- name: checkout
uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1.22
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
goversion: 1.21
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: go.mod
ldflags: '-s -w'
overwrite: true

0 comments on commit cfb5b7a

Please sign in to comment.