Skip to content

TestWorkflow

TestWorkflow #82

Workflow file for this run

name: TestWorkflow
run-name: "TestWorkflow"
on:
workflow_dispatch:
inputs:
branches:
description: "JSON array of branches: ['18','20'] (no spaces) or leave blank for all current branches."
required: false
type: string
env:
FROM_WF: "from workflow"
jobs:
Job1:
runs-on: ubuntu-latest
env:
FROM_JOB: "from job"
defaults:
run:
shell: bash
steps:
# ACTIONS_PATH, SCRIPT_DIR, NORMALIZED_BRANCH env vars
- name: GetActionsRepo
uses: asterisk/asterisk-ci-actions/GetActionsRepo@main-pr-target
- name: DumpEnvironment
uses: asterisk/asterisk-ci-actions/DumpEnvironmentAction@main
- name: printenv
env:
FROM_STEP: "from step"
SSS: ${{ secret.SOME_SUPER_SECRET }}

Check failure on line 33 in .github/workflows/TestWorkflow.yml

View workflow run for this annotation

GitHub Actions / TestWorkflow

Invalid workflow file

The workflow is not valid. .github/workflows/TestWorkflow.yml (Line: 33, Col: 16): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.SOME_SUPER_SECRET
run: |
${SCRIPT_DIR}/printEnv.sh