Skip to content

Commit 9df41d1

Browse files
authored
.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
1 parent 97345a5 commit 9df41d1

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/workflows/binaries.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,64 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: wangyoucao577/go-release-action@v1.22
13+
- uses: wangyoucao577/go-release-action@v1.35
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
goos: linux
1717
goarch: amd64
1818
project_path: cmd/envsubst
19+
asset_name: envsubst-Linux-x86_64
20+
compress_assets: OFF
1921
release-linux-arm64:
2022
name: release linux/arm64
2123
runs-on: ubuntu-latest
2224
steps:
2325
- uses: actions/checkout@v2
24-
- uses: wangyoucao577/go-release-action@v1.22
26+
- uses: wangyoucao577/go-release-action@v1.35
2527
with:
2628
github_token: ${{ secrets.GITHUB_TOKEN }}
2729
goos: linux
2830
goarch: arm64
2931
project_path: cmd/envsubst
32+
asset_name: envsubst-Linux-arm64
33+
compress_assets: OFF
3034
release-darwin-amd64:
3135
name: release darwin/amd64
3236
runs-on: ubuntu-latest
3337
steps:
3438
- uses: actions/checkout@v2
35-
- uses: wangyoucao577/go-release-action@v1.22
39+
- uses: wangyoucao577/go-release-action@v1.35
3640
with:
3741
github_token: ${{ secrets.GITHUB_TOKEN }}
3842
goos: darwin
3943
goarch: amd64
4044
project_path: cmd/envsubst
45+
asset_name: envsubst-Darwin-x86_64
46+
compress_assets: OFF
4147
release-darwin-arm64:
4248
name: release darwin/arm64
4349
runs-on: ubuntu-latest
4450
steps:
4551
- uses: actions/checkout@v2
46-
- uses: wangyoucao577/go-release-action@v1.22
52+
- uses: wangyoucao577/go-release-action@v1.35
4753
with:
4854
github_token: ${{ secrets.GITHUB_TOKEN }}
4955
goos: darwin
5056
goarch: arm64
5157
project_path: cmd/envsubst
58+
asset_name: envsubst-Darwin-arm64
59+
compress_assets: OFF
60+
release-windows:
61+
name: release windows
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@v2
65+
- uses: wangyoucao577/[email protected]
66+
with:
67+
github_token: ${{ secrets.GITHUB_TOKEN }}
68+
goos: windows
69+
goarch: amd64
70+
project_path: cmd/envsubst
71+
binary_name: envsubst-windows #release fails if the binary name is the same as the asset name
72+
asset_name: envsubst
73+
compress_assets: OFF

0 commit comments

Comments
 (0)