Create New Release #108
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: 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 }} | |
call-package-workflow: | |
uses: ./.github/workflows/package.yml | |
secrets: inherit | |
needs: [ call-ci-workflow ] | |
with: | |
ref: ${{ inputs.ref }} | |
call-release-workflow: | |
## Only builds from master enable LTO | |
if: github.ref == 'refs/heads/master' || ${{ inputs.dry-run == true }} | |
uses: ./.github/workflows/release.yml | |
secrets: inherit | |
needs: [ call-package-workflow ] | |
with: | |
dry-run: ${{ inputs.dry-run }} |