Skip to content

Commit

Permalink
.github: change release workflow output (#47)
Browse files Browse the repository at this point in the history
* Change release workflow output

Changing the file structure of release assets to adhere to previous format

* upgrade go-release-action

* fix windows asset name

* fix windows binary name
  • Loading branch information
AdrianMiska authored Feb 11, 2023
1 parent 97345a5 commit 9df41d1
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,64 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.22
- uses: wangyoucao577/go-release-action@v1.35
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
project_path: cmd/envsubst
asset_name: envsubst-Linux-x86_64
compress_assets: OFF
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.22
- uses: wangyoucao577/go-release-action@v1.35
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64
project_path: cmd/envsubst
asset_name: envsubst-Linux-arm64
compress_assets: OFF
release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.22
- uses: wangyoucao577/go-release-action@v1.35
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: amd64
project_path: cmd/envsubst
asset_name: envsubst-Darwin-x86_64
compress_assets: OFF
release-darwin-arm64:
name: release darwin/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.22
- uses: wangyoucao577/go-release-action@v1.35
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: arm64
project_path: cmd/envsubst
asset_name: envsubst-Darwin-arm64
compress_assets: OFF
release-windows:
name: release windows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: amd64
project_path: cmd/envsubst
binary_name: envsubst-windows #release fails if the binary name is the same as the asset name
asset_name: envsubst
compress_assets: OFF

0 comments on commit 9df41d1

Please sign in to comment.