From 3d040346e50424353b9c1b59f19b1fa4a2a3edc9 Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 29 Sep 2023 14:56:49 +0200 Subject: [PATCH] fixed problem with check --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4d8cb9..502edec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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: