Skip to content

Commit

Permalink
Correct GitHub workflow job branch tests
Browse files Browse the repository at this point in the history
  • Loading branch information
me-and committed Oct 26, 2023
1 parent d5da4e5 commit b24d6ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
cygport_file: git.cygport

github-release:
if: github.ref == ("refs/heads/v" + ${{ needs.build-test.outputs.pv }})
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: build-test
permissions:
contents: write
Expand All @@ -16,7 +16,7 @@ jobs:
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}

cygwin-release:
if: github.ref == ("refs/heads/v" + ${{ needs.build-test.outputs.pv }})
if: github.ref == format('refs/heads/v{0}', needs.build-test.outputs.cygport-pv)
needs: [build-test, github-release]
uses: cygporter/workflows/.github/workflows/cygwin-release.yml@v2
with:
Expand Down

0 comments on commit b24d6ef

Please sign in to comment.