Skip to content

Commit

Permalink
Merge pull request #6 from shrijan00003/feat/release-action
Browse files Browse the repository at this point in the history
feat/release-action: release on different env
  • Loading branch information
shrijan00003 authored Sep 2, 2024
2 parents 8de9851 + 9b2fe58 commit 22a2965
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "./bin"
binary_name: "restler"

0 comments on commit 22a2965

Please sign in to comment.