Skip to content

Commit

Permalink
Update build_exe.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dd-jy authored Jan 26, 2021
1 parent 716884f commit 432db2e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: ./

- name : Zip release file
run: zip -rj ./fosslight_dependency.zip dist/windows/fosslight_dependency.exe ./NOTICE ./LICENSE

- name: Upload release binary
- name: Upload release file
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/windows/fosslight_dependency.exe
asset_name: fosslight_dependency.exe
asset_path: ./fosslight_dependency.zip
asset_name: fosslight_dependency.zip
asset_content_type: application/zip

0 comments on commit 432db2e

Please sign in to comment.