Skip to content

Commit

Permalink
fixed problem with check
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Sep 29, 2023
1 parent d6af276 commit 3d04034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
PACKAGE_VERSION: ${{ steps.package_version.outputs.VERSION }}

tag:
if: github.event_name == 'push'
if: github.event_name == 'push' && needs.test-versions.outputs.version != ''
needs: [test-image, test-versions]
runs-on: ubuntu-latest
permissions:
Expand All @@ -87,6 +87,7 @@ jobs:
run: gh release create $VERSION --generate-notes
env:
VERSION: ${{ needs.test-versions.outputs.version }}
GH_TOKEN: ${{ github.token }}
publish:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 3d04034

Please sign in to comment.