TestWorkflow #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
|
||
run: | | ||
${SCRIPT_DIR}/printEnv.sh |