Skip to content

Commit

Permalink
Fixes conditional statement in create-release.yml (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrytrinder authored Apr 18, 2024
1 parent f86efe8 commit faeb6ac
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ jobs:
id: installer
if: contains(matrix.architecture, 'win-')
run: |
if contains(github.ref_name, 'beta')
then
echo "::set-output name=filename::install-beta.iss"
else
echo "::set-output name=filename::install.iss"
fi
if ('${{ github.ref_name }}'.Contains('beta')) {
Write-Output "filename=install-beta.iss" >> $env:GITHUB_OUTPUT
} else {
Write-Output "filename=install.iss" >> $env:GITHUB_OUTPUT
}
- name: Add install file
if: contains(matrix.architecture, 'win-')
run: cp ./${{ steps.installer.outputs.filename }} ./${{ env.release }}
Expand Down

0 comments on commit faeb6ac

Please sign in to comment.