From acb04abf842b2a6ed6d1943fd2222657980d2acf Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 6 Dec 2020 13:28:24 +0100 Subject: [PATCH] Manually zip files for release --- .github/workflows/ci.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb1f18aa..83c90858 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,22 +42,14 @@ jobs: !dist/**/*.map retention-days: 10 - deploy: - needs: [ build ] - runs-on: ubuntu-20.04 - if: github.event_name == 'release' - steps: - - - uses: actions/download-artifact@v2 - with: - name: FreqUI - path: ./ - - - run: ls -l ./ + - name: Zip files for release + if: github.event_name == 'release' + run: zip -r freqUI.zip dist/* - name: Upload release binaries uses: alexellis/upload-assets@0.2.2 + if: github.event_name == 'release' env: GITHUB_TOKEN: ${{ github.token }} with: - asset_paths: '["./*"]' + asset_paths: '["./freqUI.zip"]'