Manually zip files for release

This commit is contained in:
Matthias 2020-12-06 13:28:24 +01:00
parent 111d0b7b9d
commit acb04abf84

View File

@ -42,22 +42,14 @@ jobs:
!dist/**/*.map
retention-days: 10
deploy:
needs: [ build ]
runs-on: ubuntu-20.04
- name: Zip files for release
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v2
with:
name: FreqUI
path: ./
- run: ls -l ./
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"]'