Skip to content

Commit

Permalink
Add separate zip files per platform (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Nichols <trevor@theredfox.group>
  • Loading branch information
ocdi and ocdi authored Aug 21, 2020
1 parent 4dae824 commit 144ef33
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,25 @@ jobs:
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r kubelogin.zip bin

- name: Zip (win-amd64)
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r kubelogin-win-amd64.zip bin/windows_amd64

- name: Zip (darwin-amd64)
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r kubelogin-darwin-amd64.zip bin/darwin_amd64

- name: Zip (linux-amd64)
uses: montudor/action-zip@v0.1.0
with:
args: zip -qq -r kubelogin-linux-amd64.zip bin/linux_amd64

- name: Publish
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: kubelogin.zip
args: kubelogin.zip kubelogin-win-amd64.zip kubelogin-darwin-amd64.zip kubelogin-linux-amd64.zip

0 comments on commit 144ef33

Please sign in to comment.