From 786ccfd233a74be6a0a1ad8657d12dfa9fd37348 Mon Sep 17 00:00:00 2001 From: Simon Graband Date: Wed, 6 Mar 2024 10:50:22 +0100 Subject: [PATCH] Fix typo in CI This prevented the artifacts from being published. --- .github/workflows/reusable-docker.yml | 4 ++-- .github/workflows/reusable-npm.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-docker.yml b/.github/workflows/reusable-docker.yml index 75d989fc..883cf58c 100644 --- a/.github/workflows/reusable-docker.yml +++ b/.github/workflows/reusable-docker.yml @@ -41,7 +41,7 @@ jobs: check-version: runs-on: ubuntu-latest - if: github.event_name == 'next' + if: github.event_name == 'push' outputs: is_next_version: ${{ steps.version_check.outputs.is_next_version }} steps: @@ -56,7 +56,7 @@ jobs: publish-next: runs-on: ubuntu-latest needs: check-version - if: github.event_name == 'next' && needs.check-version.outputs.is_next_version == 'true' + if: github.event_name == 'push' && needs.check-version.outputs.is_next_version == 'true' steps: - name: Checkout Repository diff --git a/.github/workflows/reusable-npm.yml b/.github/workflows/reusable-npm.yml index a06f590c..3e20c27b 100644 --- a/.github/workflows/reusable-npm.yml +++ b/.github/workflows/reusable-npm.yml @@ -34,7 +34,7 @@ jobs: check-version: runs-on: ubuntu-latest - if: github.event_name == 'next' + if: github.event_name == 'push' outputs: is_next_version: ${{ steps.version_check.outputs.is_next_version }} steps: @@ -49,7 +49,7 @@ jobs: publish-next: runs-on: ubuntu-latest needs: check-version - if: github.event_name == 'next' && needs.check-version.outputs.is_next_version == 'true' + if: github.event_name == 'push' && needs.check-version.outputs.is_next_version == 'true' defaults: run: working-directory: ./node