Skip to content

Access variables from the inputs map #8

Access variables from the inputs map

Access variables from the inputs map #8

name: TestAndBuild
on:
push:
branches: [ workflow-and-tests ]
workflow_dispatch:
jobs:
call-test-workflow:
uses: ./.github/workflows/test.yml

Check failure on line 10 in .github/workflows/test-and-release.yml

View workflow run for this annotation

GitHub Actions / TestAndBuild

Invalid workflow file

The workflow is not valid. .github/workflows/test-and-release.yml (Line: 10, Col: 11): Input module_root is required, but not provided while calling. .github/workflows/test-and-release.yml (Line: 13, Col: 21): Invalid input, project_root is not defined in the referenced workflow.
if: ${{ inputs.run-tests }}
with:
project_root: ./modules/core
run-tests: true
secrets: inherit
call-release-workflow:
uses: ./.github/workflows/release.yml
needs: call-test-workflow
if: ${{ inputs.release }}
with:
release: false
secrets: inherit