Create New Release #130
This file contains hidden or 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: Create New Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| ref: | |
| description: The commit SHA to build | |
| required: false | |
| type: string | |
| dry-run: | |
| description: If true, the workflow only indicates which artifacts would be uploaded | |
| required: true | |
| type: boolean | |
| default: true | |
| jobs: | |
| call-ci-workflow: | |
| uses: ./.github/workflows/ci.yml | |
| secrets: inherit | |
| with: | |
| ref: ${{ inputs.ref }} | |
| sccache: false | |
| # Run Linux install QA against the packages produced by ci.yml before | |
| # proceeding with signing and release. Runs in parallel with packaging. | |
| call-linux-install-test: | |
| needs: [call-ci-workflow] | |
| uses: ./.github/workflows/linux-install-test.yml | |
| secrets: inherit | |
| call-package-workflow: | |
| needs: [call-ci-workflow] | |
| uses: ./.github/workflows/package.yml | |
| secrets: inherit | |
| with: | |
| ref: ${{ inputs.ref }} | |
| call-release-workflow: | |
| if: ${{ github.ref == 'refs/heads/master' || inputs.dry-run == true }} | |
| needs: [call-package-workflow, call-linux-install-test] | |
| uses: ./.github/workflows/release.yml | |
| secrets: inherit | |
| with: | |
| dry-run: ${{ inputs.dry-run }} |