diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 7027f9b..46d72ad 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -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/go-release-action@v1.35 + 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