Skip to content

Commit

Permalink
actions: Update publish matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGamba committed Mar 12, 2023
1 parent 535cd99 commit 2038894
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- {GOOS: linux, GOARCH: amd64}
- {GOOS: linux, GOARCH: arm64}
- {GOOS: darwin, GOARCH: amd64}
- {GOOS: darwin, GOARCH: arm64}
goos: [linux, darwin]
goarch: [amd64, arm64]
tool:
- cssh/cscp
- cssh/cssh
Expand Down Expand Up @@ -69,8 +66,8 @@ jobs:
shell: bash
env:
CGO_ENABLED: 0
GOOS: ${{ matrix.GOOS }}
GOARCH: ${{ matrix.GOARCH }}
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}

- name: Upload Release Asset
id: upload-release-asset
Expand All @@ -82,5 +79,5 @@ jobs:
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: ${{ matrix.tool }}/${{ steps.build.outputs.binary }}
asset_name: ${{ steps.build.outputs.binary }}.${{ matrix.GOOS }}.${{ matrix.GOARCH }}
asset_name: ${{ steps.build.outputs.binary }}.${{ matrix.goos }}.${{ matrix.goarch }}
asset_content_type: application/octet-stream

0 comments on commit 2038894

Please sign in to comment.