From f61ee75289b500ccdca6baa4490438ac2ba80840 Mon Sep 17 00:00:00 2001 From: Takaya Saeki Date: Sun, 31 Oct 2021 01:57:44 +0900 Subject: [PATCH] Zip the windows assets --- .github/workflows/cd.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 53770b2..ab7a688 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -18,7 +18,6 @@ jobs: - uses: actions/checkout@v2 - name: Get the arch name - shell: bash run: | echo "ARCH_NAME=$(uname -m)" >> $GITHUB_ENV @@ -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