File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments