Skip to content

Workflow file for this run

name: Get key
on:
workflow_call:
# Map the workflow outputs to job outputs
outputs:
token:
description: "my token"
value: ${{ jobs.my_job.outputs.token }}
jobs:
my_job:
environment: Production
permissions:
id-token: write
actions: read
pull-requests: read
name: Generate output
runs-on: ubuntu-latest
# Map the job outputs to step outputs
outputs:
token: ${{ steps.step1.outputs.token }}
steps:
- id: step1
run: echo "token=${{ secrets.FOO }}" >> $GITHUB_OUTPUT && echo ${{ vars.BAR }}
steps:

Check failure on line 27 in .github/workflows/temp-key.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/temp-key.yaml

Invalid workflow file

You have an error in your yaml syntax on line 27