From ccc3b6982e985cab5c27021bff2d4e0907a49773 Mon Sep 17 00:00:00 2001 From: Ben C Date: Wed, 13 Jul 2022 22:26:55 -0400 Subject: [PATCH] Fix Action Maybe Gorp Etc --- .github/workflows/release_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index bbcfc645..ad10b78b 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -28,14 +28,14 @@ jobs: Update_Schemas: name: 'Update Schemas' needs: Build - if: ${{ needs.Build.outputs.schemas_changed == 'true' && github.event.name != 'pull_request' }} # Debug build will update schemas on push, so don't run if we're on pull request + if: ${{ needs.Build.outputs.schemas_changed == 'true' && github.ref == 'refs/heads/main' }} # Debug build will update schemas on push, so don't run if we're on pull request uses: ./.github/workflows/update_schemas.yml with: artifact_name: NewHorizons-Schemas-Release Update_Docs: name: 'Update Docs' needs: Build - if: ${{ needs.Build.outputs.schemas_changed == 'true' && github.event.name != 'pull_request' }} # Same thing with docs + if: ${{ needs.Build.outputs.schemas_changed == 'true' && github.ref == 'refs/heads/main' }} # Same thing with docs uses: './.github/workflows/docs_build.yml' with: schemas_artifact: NewHorizons-Schemas-Debug