Debug only: print environment variable
This commit is contained in:
parent
7567eab606
commit
3b348d9a54
2 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ runs:
|
||||||
- name: Check config
|
- name: Check config
|
||||||
working-directory: ${{ github.action_path }}
|
working-directory: ${{ github.action_path }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
|
run: echo "$EXPECTED_CONFIG_FILE_CONTENTS"; ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
shell: bash
|
shell: bash
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import * as assert from 'assert'
|
||||||
const actualConfig = loadActualConfig()
|
const actualConfig = loadActualConfig()
|
||||||
|
|
||||||
const rawExpectedConfig = process.argv[3].trim()
|
const rawExpectedConfig = process.argv[3].trim()
|
||||||
|
core.info("rawExpectedConfig: " + rawExpectedConfig)
|
||||||
if (!rawExpectedConfig) {
|
if (!rawExpectedConfig) {
|
||||||
core.setFailed('No expected configuration provided')
|
core.setFailed('No expected configuration provided')
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue