Skip to content

Commit

Permalink
Zip the windows assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpo-head committed Oct 30, 2021
1 parent da04910 commit f61ee75
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/checkout@v2

- name: Get the arch name
shell: bash
run: |
echo "ARCH_NAME=$(uname -m)" >> $GITHUB_ENV
Expand All @@ -32,7 +31,14 @@ jobs:
uses: actions/download-artifact@v2
with:
name: "distrod_wsl_launcher-${{ env.ARCH_NAME }}"
path: assets
path: "distrod_wsl_launcher-${{ env.ARCH_NAME }}"

- name: Zip distrod_wsl_launcher
run: |
sudo apt update
sudo apt install -y zip
zip -r "distrod_wsl_launcher-${{ env.ARCH_NAME }}.zip" "distrod_wsl_launcher-${{ env.ARCH_NAME }}"
mv "distrod_wsl_launcher-${{ env.ARCH_NAME }}.zip" assets/
- name: Read the commit message and use it as a body of the new release
shell: bash
Expand Down

0 comments on commit f61ee75

Please sign in to comment.