This commit is contained in:
Joseph Garrone 2024-06-16 18:40:28 +02:00
parent 5cd6b2ac52
commit d3a9a41dba

View file

@ -35,8 +35,7 @@ jobs:
create_github_release: create_github_release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: check_if_version_upgraded needs: check_if_version_upgraded
# We create a release only if the version have been upgraded and we are on a default branch if: needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true'
if: needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' && github.event_name == 'push'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4