Create gaps in release train and prevent 422 error #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/build.yml | |
secrets: inherit | |
test: | |
name: Test | |
uses: ./.github/workflows/test.yml | |
secrets: inherit | |
deploy-artifacts: | |
name: Deploy Artifacts | |
needs: [build, test] | |
uses: ./.github/workflows/deploy-artifacts.yml | |
with: | |
should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }} | |
secrets: inherit | |
publish-plugins: | |
name: Publish Plugins | |
needs: [deploy-artifacts] | |
uses: ./.github/workflows/publish-plugins.yml | |
with: | |
should-publish-plugins: ${{ needs.deploy-artifacts.outputs.artifacts-deployed }} | |
project-version: ${{ needs.deploy-artifacts.outputs.project-version }} | |
secrets: inherit |