Skip to content

Commit

Permalink
Fix conditional expressions in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Sep 17, 2023
1 parent 1f7e49c commit bbb7182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ jobs:
REF: ${{ github.ref }}
- name: Publish archive
uses: softprops/action-gh-release@v1
if: github.event_name == "push"
if: github.event_name == 'push'
with:
draft: false
files: ${{ steps.package.outputs.archive }}
prerelease: ${{ steps.release-type.outputs.type == 'prerelease' }}
- name: Attach archive to action
uses: actions/upload-artifact@v3
if: github.event_name == "workflow_dispatch"
if: github.event_name == 'workflow_dispatch'
with:
name: term-transcript-${{ matrix.target }}
path: ${{ steps.package.outputs.archive }}

0 comments on commit bbb7182

Please sign in to comment.