Skip to content

Commit

Permalink
Fix should_ properties (#11)
Browse files Browse the repository at this point in the history
* Parentheses around condition

* Yaml typo

* Simplified condition

---------

Co-authored-by: Martin Smith <[email protected]>
  • Loading branch information
martinsmith1968 and cb-martinsmith authored Aug 21, 2024
1 parent dd8a796 commit b845425
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
should_release=true
elif [[ "${{ github.ref }}" == refs/heads/${{ env.BRANCH_PREFIX_RELEASE_CANDIDATE }}* ]]
then
should_publish=true
should_release=true
fi
echo "should_release=${should_release}" >> $GITHUB_ENV
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

- name: Show Configuration
id: show_configuration
run: env
run: env | sort

outputs:
assembly_version: ${{ env.assembly_version }}
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
## Generate a Release and Tag in git
release:
name: Create GitHub Release
if: needs.setup.outputs.should_release == 'true' && success()
if: needs.setup.outputs.should_release == 'true'

needs:
- setup
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
## Publish to NuGet
publish:
name: Publish to NuGet
if: needs.setup.outputs.should_publish == 'true' && success()
if: needs.setup.outputs.should_publish == 'true'

needs:
- setup
Expand Down

0 comments on commit b845425

Please sign in to comment.