Skip to content

Create New Release #108

Create New Release

Create New Release #108

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 }}