customize workflows' options #58
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 Application | ||
env: | ||
default_build_type: Release | ||
on: | ||
push: | ||
branches-ignore: | ||
- "renovate/**" | ||
paths-ignore: | ||
- "**.md" | ||
- "**/LICENSE" | ||
- "flake.lock" | ||
- "packages/**" | ||
- ".github/ISSUE_TEMPLATE/**" | ||
- ".markdownlint**" | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
- "**/LICENSE" | ||
- "flake.lock" | ||
- "packages/**" | ||
- ".github/ISSUE_TEMPLATE/**" | ||
- ".markdownlint**" | ||
workflow_dispatch: | ||
inputs: | ||
build_type: | ||
description: 'Build type' | ||
required: true | ||
default: $default_build_type | ||
type: choice | ||
options: | ||
- Debug | ||
- Release | ||
- RelWithDebInfo | ||
- MinSizeRel | ||
jobs: | ||
build_debug: | ||
name: Build Debug | ||
uses: ./.github/workflows/build.yml | ||
env: | ||
Check failure on line 41 in .github/workflows/trigger_builds.yml GitHub Actions / Build ApplicationInvalid workflow file
|
||
default_build_type: Release | ||
with: | ||
build_type: ${{ inputs.build_type || env.default_build_type }} | ||
is_qt_cached: true | ||
secrets: | ||
SPARKLE_ED25519_KEY: ${{ secrets.SPARKLE_ED25519_KEY }} | ||
WINDOWS_CODESIGN_CERT: ${{ secrets.WINDOWS_CODESIGN_CERT }} | ||
WINDOWS_CODESIGN_PASSWORD: ${{ secrets.WINDOWS_CODESIGN_PASSWORD }} | ||
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
GPG_PRIVATE_KEY_ID: ${{ secrets.GPG_PRIVATE_KEY_ID }} |