Skip to content

Commit

Permalink
Fixes to artifact publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
compenguy authored Mar 6, 2020
1 parent cdbbb72 commit 8c58d9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
dependencies: libasound2-dev libdbus-1-dev
program-ext: ''
debug-ext: .debug
release-name: panharmonicon-linux.zip
release-name: panharmonicon-linux
- os: windows-2019
dependencies: ''
program-ext: .exe
debug-ext: .pdb
release-name: panharmonicon-win.zip
release-name: panharmonicon-win

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
# publish the archives made in the previous steps
# but ONLY if this was triggered by a 'published' event
- name: Publish release artifacts
if: github.event.action == 'published'
if: github.event_name == 'release'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8c58d9f

Please sign in to comment.