Skip to content

Commit

Permalink
ci(pypi): fix reference name logical error
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Jan 29, 2024
1 parent f137c77 commit ddc310b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
RELEASE_BR: 'release'
MAIN_BR: 'master'
steps:
- run: git branch --track "${{ env.RELEASE }}" "origin/${{ env.RELEASE }}"
- run: git branch --track "${{ env.RELEASE_BR }}" "origin/${{ env.RELEASE_BR }}"
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -252,11 +252,11 @@ jobs:
with:
reference: ${{ env.MAIN_BR }}
tag: "${{ github.ref }}"
- name: "Check if '${{ github.ref }}' tag is on '${{ env.RELEASE }}' branch"
- name: "Check if '${{ github.ref }}' tag is on '${{ env.RELEASE_BR }}' branch"
uses: rickstaa/action-contains-tag@v1
id: release_contains_tag
with:
reference: ${{ env.RELEASE }}
reference: ${{ env.RELEASE_BR }}
tag: "${{ github.ref }}"

- name: Pick Production or Test Environment, if tag on master or release branch respectively
Expand Down

0 comments on commit ddc310b

Please sign in to comment.