Skip to content

Commit 790653d

Browse files
committed
add linyx/arm64
1 parent 2f432ee commit 790653d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/package.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Generate build files
2222
uses: williampiv/go-cross-build@master
2323
with:
24-
platforms: 'linux/amd64, darwin/amd64, darwin/arm64, windows/amd64'
24+
platforms: 'linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64'
2525
package: ''
2626
name: 'venstar-cli'
2727
compress: 'true'
@@ -37,7 +37,7 @@ jobs:
3737
body_path: README.md
3838
env:
3939
GITHUB_TOKEN: ${{ github.token }}
40-
- name: upload linux artifact
40+
- name: upload linux amd64 artifact
4141
uses: actions/upload-release-asset@v1
4242
env:
4343
GITHUB_TOKEN: ${{ github.token }}
@@ -46,6 +46,15 @@ jobs:
4646
asset_path: ./build/venstar-cli-linux-amd64.tar.gz
4747
asset_name: venstar-cli-linux-amd64.tar.gz
4848
asset_content_type: application/gzip
49+
- name: upload linux arm64 artifact
50+
uses: actions/upload-release-asset@v1
51+
env:
52+
GITHUB_TOKEN: ${{ github.token }}
53+
with:
54+
upload_url: ${{ steps.create_release.outputs.upload_url }}
55+
asset_path: ./build/venstar-cli-linux-arm64.tar.gz
56+
asset_name: venstar-cli-linux-arm64.tar.gz
57+
asset_content_type: application/gzip
4958
- name: upload darwin amd64 artifact
5059
uses: actions/upload-release-asset@v1
5160
env:

0 commit comments

Comments
 (0)