From e925e8b5a05204915ea554193fdc64f3a0720c20 Mon Sep 17 00:00:00 2001 From: Aaron-Ritter Date: Thu, 16 Jan 2025 15:26:33 +0100 Subject: [PATCH] ci(release): run E2E Tests before creating prerelease --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index abaacb9..88af179 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,8 +32,8 @@ jobs: manifest-file: ".github/prerelease-manifest.json" prerelease-e2e-test: - name: Run Prerelease Tests - if: ${{ needs.prerelease-prep.outputs.releases_created == 'false' }} + name: Run Prerelease E2E Tests + if: ${{ needs.prerelease-prep.outputs.releases_created == 'true' && contains(needs.prerelease-prep.outputs.tag_name, 'rc') }} needs: prerelease-prep uses: ./.github/workflows/e2e-test-fusionauth-matrix-ios-latest.yml @@ -41,7 +41,7 @@ jobs: name: Create Prerelease and Release Pull Request runs-on: ubuntu-latest if: ${{ needs.prerelease-prep.outputs.releases_created == 'true' && contains(needs.prerelease-prep.outputs.tag_name, 'rc') }} - needs: prerelease-prep + needs: [ prerelease-prep, prerelease-e2e-test ] steps: - name: Pre Release Step run: |