Fix Action Maybe Gorp Etc

This commit is contained in:
Ben C 2022-07-13 22:26:55 -04:00
parent b1a35552f0
commit ccc3b6982e
No known key found for this signature in database
GPG Key ID: 7F8F04504B670474

View File

@ -28,14 +28,14 @@ jobs:
Update_Schemas: Update_Schemas:
name: 'Update Schemas' name: 'Update Schemas'
needs: Build 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 uses: ./.github/workflows/update_schemas.yml
with: with:
artifact_name: NewHorizons-Schemas-Release artifact_name: NewHorizons-Schemas-Release
Update_Docs: Update_Docs:
name: 'Update Docs' name: 'Update Docs'
needs: Build 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' uses: './.github/workflows/docs_build.yml'
with: with:
schemas_artifact: NewHorizons-Schemas-Debug schemas_artifact: NewHorizons-Schemas-Debug