Skip to content

Commit

Permalink
Run upload-to-release on Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCBrammer committed Jan 7, 2021
1 parent 5d4f7cb commit f2cf0c1
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,28 @@ jobs:
run: |
pyinstaller --onefile --windowed --icon=logo.ico OpenHRV.py
- name: upload exe artifact
uses: actions/upload-artifact@v2
with:
name: OpenHRV_windows
path: dist/OpenHRV.exe

upload_windows: # separate job on Ubuntu since JasonEtco/upload-to-release@master only runs on Linux

needs: build_windows

runs-on: ubuntu-latest

steps:

- name: download exe
uses: actions/download-artifact@v2
with:
name: OpenHRV_windows

- name: upload exe to release
uses: JasonEtco/upload-to-release@master
with:
args: dist/OpenHRV.exe
args: OpenHRV.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # token generated implicitly

0 comments on commit f2cf0c1

Please sign in to comment.