Skip to content

Commit

Permalink
Better pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-martinsmith committed Aug 21, 2024
1 parent e75f7f2 commit d08b8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
COVERAGE_WARNING_THRESHOLD: 60
COVERAGE_ERROR_THRESHOLD: 80
NUGET_OUTPUT_FOLDER: nupkgs
BRANCH_RELEASE_CANDIDATE: rc/**
BRANCH_PREFIX_RELEASE_CANDIDATE: rc/

on:
push:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
elif [ "${{ github.ref }}" == "refs/heads/main" ]
then
should_publish=true
elif [[ "${{ github.ref }}" == ${{ env.BRANCH_RELEASE_CANDIDATE }}* ]]
elif [[ "${{ github.ref }}" == refs/heads/${{ env.BRANCH_PREFIX_RELEASE_CANDIDATE }}* ]]
then
should_publish=true
fi
Expand Down

0 comments on commit d08b8a2

Please sign in to comment.