42 lines
822 B
YAML
42 lines
822 B
YAML
include-source: false # Drop file/line/col from output
|
|
---
|
|
on: push
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo hi
|
|
deploy:
|
|
needs: build
|
|
uses: contoso/templates/.github/workflows/deploy.yml@v1
|
|
with:
|
|
app_name: my app
|
|
secrets: inhrit # typo
|
|
---
|
|
contoso/templates/.github/workflows/deploy.yml@v1
|
|
---
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
app_name:
|
|
required: true
|
|
type: string
|
|
secrets:
|
|
shh:
|
|
required: true
|
|
jobs:
|
|
job1:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
output1: ${{ steps.step1.outputs.test }}
|
|
steps:
|
|
- run: echo \""::set-output name=test::hello\""
|
|
---
|
|
{
|
|
"errors": [
|
|
{
|
|
"Message": ".github/workflows/errors-reusable-workflow-job-secrets.yml (Line: 12, Col: 14): Unexpected value 'inhrit'"
|
|
}
|
|
]
|
|
}
|