Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Feb 27, 2024
1 parent 7e72764 commit aeae658
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ jobs:
uses: ./
with:
image: ubuntu:latest
run: |
run: |
echo "list temp: -----"
ls -la /tmp
echo "var output: [$GITHUB_OUTPUT]"
echo "ls of output: ----"
ls -la $GITHUB_OUTPUT
echo "success=true" >> $GITHUB_OUTPUT
- name: "Validate Test: Run a command in a public image"
run: test.sh equal "${{ steps.test-simple.outputs.success }}" "true"
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/dockerRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import {FileMap, Mapping} from './fileMap'

const fileMap = new FileMap(input.get('tempdir'))

/*fileMap.pushRunnerPath('GITHUB_ENV', process.env.GITHUB_ENV)
fileMap.pushRunnerPath('GITHUB_ENV', process.env.GITHUB_ENV)
fileMap.pushRunnerPath('GITHUB_PATH', process.env.GITHUB_PATH)
fileMap.pushRunnerPath('GITHUB_OUTPUT', process.env.GITHUB_OUTPUT)
fileMap.pushRunnerPath('GITHUB_STATE', process.env.GITHUB_STATE)
fileMap.pushRunnerPath('GITHUB_STEP_SUMMARY', process.env.GITHUB_STEP_SUMMARY)*/
fileMap.pushRunnerPath('GITHUB_STEP_SUMMARY', process.env.GITHUB_STEP_SUMMARY)
const command = fileMap.pushRunnerPath(
'CONTAINER_COMMAND',
`${process.env.RUNNER_TEMP}/command_${uuidv4()}`
Expand Down

0 comments on commit aeae658

Please sign in to comment.