Skip to content

Commit

Permalink
don't look for latest version when version pattern is not matched
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Baryshev <dennybaa@gmail.com>
  • Loading branch information
dennybaa committed Aug 11, 2021
1 parent 7eabd12 commit 5598b4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ jobs:
- uses: actions/checkout@v2
-
uses: dysnix/find-latest-tag@v1
if: ${{ needs.setup.outputs.release_tag != '' }}
id: latest
with:
compared-to-tag: ${{ needs.setup.outputs.release_tag }}
repository: ${{ github.repository }}
-
uses: dysnix/find-latest-tag@v1
if: ${{ needs.setup.outputs.release_tag != '' }}
id: latestMinor
with:
regex: ${{ needs.setup.outputs.minor_version }}
Expand Down

0 comments on commit 5598b4b

Please sign in to comment.