Skip to content

Commit

Permalink
Surround GitHub variables in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
elzik committed Oct 31, 2023
1 parent 3fe288e commit e683b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Check for Release Requirement
id: release-check
run: |
$needsRelease = (${{ github.ref_name }} -eq 'main') -or (${{ github.event.inputs.force-release }} -e 'true')
$needsRelease = ("${{ github.ref_name }}" -eq 'main') -or ("${{ github.event.inputs.force-release }}" -e 'true')
Add-Content -Path $env:GITHUB_OUTPUT -Value "needs-release=$needsRelease"
shell: pwsh
- name: Tag With SemVer
Expand Down

0 comments on commit e683b75

Please sign in to comment.