Skip to content

Commit

Permalink
Prefer 'contains' to 'endsWith'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHarker committed Mar 23, 2023
1 parent ebe2ede commit ba72be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
needs: deploy-win
env:
release_notes: ${{ github.workspace }}/hirt/.github/releases/release-notes-${{ github.ref_name }}.txt
testing_version: ${{ endsWith(github.ref_name, 'rc') }}
testing_version: ${{ contains(github.ref_name, 'rc') }}
steps:
- name: Checkout max-sdk-base
uses: actions/checkout@v3
Expand Down

0 comments on commit ba72be4

Please sign in to comment.