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 !dist/**/*.map
retention-days: 10 retention-days: 10
deploy: - name: Zip files for release
needs: [ build ] if: github.event_name == 'release'
runs-on: ubuntu-20.04 run: zip -r freqUI.zip dist/*
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v2
with:
name: FreqUI
path: ./
- run: ls -l ./
- name: Upload release binaries - name: Upload release binaries
uses: alexellis/upload-assets@0.2.2 uses: alexellis/upload-assets@0.2.2
if: github.event_name == 'release'
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
with: with:
asset_paths: '["./*"]' asset_paths: '["./freqUI.zip"]'