Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed May 18, 2021
1 parent a7c0139 commit c78b5bf
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,34 +56,31 @@ jobs:
run: pip3 install pyinstaller

- name: Build for Windows
run: pyinstaller spec\Windows.spec && pyinstaller spec\Windows_dir.spec && pyinstaller spec\debug_dump.spec
run: pyinstaller spec\Windows.spec && pyinstaller spec\Windows_dir.spec && pyinstaller spec\debug_dump.spec && pyinstaller spec\debug_dump_dir.spec

- uses: papeloto/action-zip@v1
with:
files: dist/Windows/
recursive: false
dest: dist/Windows.zip
- uses: papeloto/action-zip@v1
with:
files: dist/debug_dump/
recursive: false
dest: dist/debug_dump.zip

- name: Upload to Artifacts
uses: actions/upload-artifact@v2
with:
name: Artifacts Windows
path: |
dist/*.exe
dist/Windows.zip
dist/*.zip
- name: Upload to Release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.exe
tag: ${{ github.ref }}
file_glob: true
- name: Upload to Release 2
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/Windows.zip
file: dist/*.*
tag: ${{ github.ref }}
file_glob: true

0 comments on commit c78b5bf

Please sign in to comment.