-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github: change release workflow output (#47)
* 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
1 parent
97345a5
commit 9df41d1
Showing
1 changed file
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |