Skip to content

Commit f61ee75

Browse files
committed
Zip the windows assets
1 parent da04910 commit f61ee75

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/cd.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- uses: actions/checkout@v2
1919

2020
- name: Get the arch name
21-
shell: bash
2221
run: |
2322
echo "ARCH_NAME=$(uname -m)" >> $GITHUB_ENV
2423
@@ -32,7 +31,14 @@ jobs:
3231
uses: actions/download-artifact@v2
3332
with:
3433
name: "distrod_wsl_launcher-${{ env.ARCH_NAME }}"
35-
path: assets
34+
path: "distrod_wsl_launcher-${{ env.ARCH_NAME }}"
35+
36+
- name: Zip distrod_wsl_launcher
37+
run: |
38+
sudo apt update
39+
sudo apt install -y zip
40+
zip -r "distrod_wsl_launcher-${{ env.ARCH_NAME }}.zip" "distrod_wsl_launcher-${{ env.ARCH_NAME }}"
41+
mv "distrod_wsl_launcher-${{ env.ARCH_NAME }}.zip" assets/
3642
3743
- name: Read the commit message and use it as a body of the new release
3844
shell: bash

0 commit comments

Comments
 (0)