Skip to content

Commit ab957f7

Browse files
author
Achille Roussel
committed
make archives
1 parent 3f64e46 commit ab957f7

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
go-version: 1.17.1
2323

24-
- name: Cache Dependencies
24+
- name: Cache Go
2525
uses: actions/cache@v2
2626
with:
2727
path: |
@@ -53,14 +53,17 @@ jobs:
5353
- name: Build Windows ARM64
5454
run: GOOS=windows GOARCH=arm64 go build -o kubectl-curl_${{ steps.version.outputs.tag }}_windows_arm64.exe
5555

56+
- name: Generate Artifacts
57+
run: for bin in kubectl-curl_*; do tar czf $bin.tar.gz $bin LICENSE; done
58+
5659
- name: Release
5760
uses: softprops/action-gh-release@v1
5861
with:
5962
files: |
6063
LICENSE
61-
kubectl-curl_${{ steps.version.outputs.tag }}_linux_amd64
62-
kubectl-curl_${{ steps.version.outputs.tag }}_linux_arm64
63-
kubectl-curl_${{ steps.version.outputs.tag }}_darwin_amd64
64-
kubectl-curl_${{ steps.version.outputs.tag }}_darwin_arm64
65-
kubectl-curl_${{ steps.version.outputs.tag }}_windows_amd64.exe
66-
kubectl-curl_${{ steps.version.outputs.tag }}_windows_arm64.exe
64+
kubectl-curl_${{ steps.version.outputs.tag }}_linux_amd64.tar.gz
65+
kubectl-curl_${{ steps.version.outputs.tag }}_linux_arm64.tar.gz
66+
kubectl-curl_${{ steps.version.outputs.tag }}_darwin_amd64.tar.gz
67+
kubectl-curl_${{ steps.version.outputs.tag }}_darwin_arm64.tar.gz
68+
kubectl-curl_${{ steps.version.outputs.tag }}_windows_amd64.exe.tar.gz
69+
kubectl-curl_${{ steps.version.outputs.tag }}_windows_arm64.exe.tar.gz

0 commit comments

Comments
 (0)