GitLabCI: Turn jobs on or off with inputs
Created on February 2, 2026
GitLabCI
spec:
inputs:
run_mac_build:
type: boolean
default: false
run_windows_build:
type: boolean
default: false
sign_desktop_builds:
type: boolean
default: false
---
test-awesome-inputs:
stage: desktop_dependencies
script:
- echo "lets learn how to use gitlab inputs"
- echo "I run lets start the build! 🔥🔥🔥"
rules:
- if: '"$[[ inputs.run_mac_build ]]" == "true"'
when: on_success
- when: never
docs: GitLabCI Inputs