Skip to content

Commit

Permalink
Fix if expression syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
domMayhew committed Feb 15, 2024
1 parent 94e310c commit 20417a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/publish-haskell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ runs:
path: ${{ env.location }}

- name: Upload candidate to Hackage
if: ${{ inputs.mode == "dry-run" }}
if: ${{ inputs.mode }} == "dry-run"
shell: bash
working-directory: codegen/haskell
run: |
export HACKAGE_TOKEN=${{ inputs.repository-token }}
stack upload --candidate --test-tarball .
- name: Upload to Hackage
if: ${{ inputs.mode == "release" && startsWith(github.ref, ref/tags/v) }}
if: ${{ inputs.mode }} == "release" && ${{ startsWith(github.ref, ref/tags/v) }}
shell: bash
working-directory: codegen/haskell
run: |
Expand Down

0 comments on commit 20417a3

Please sign in to comment.