Skip to content

Update cmake.yml

Update cmake.yml #5

Workflow file for this run

name: CI
on:
push:
branches: ['*'] # Trigger on push events for all branches
pull_request:
branches: ['master'] # Trigger on pull requests to master
workflow_dispatch: # Allow manual triggering of workflow
jobs:
build:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/cmake.yml

Check failure on line 13 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 13, Col: 11): Input build_typez is required, but not provided while calling. .github/workflows/build.yml (Line: 15, Col: 19): Invalid input, build_type is not defined in the referenced workflow.
with:
build_type: "Debug"
build_pr:
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master'
uses: ./.github/workflows/cmake.yml
with:
build_type: "Release"