bea32d5651
* fix: align other Docker executors to print action * fix: formatting * fix: add proper workdir support * fix: replace script filepath after slice creation * fix: match substring so it works for pwsh + rename containerPath to scriptPath to reflect what value it contains
24 lines
462 B
YAML
24 lines
462 B
YAML
on: push
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: /tmp
|
|
|
|
jobs:
|
|
workdir:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: /root
|
|
steps:
|
|
- run: '[[ "$(pwd)" == "/root" ]]'
|
|
|
|
- run: mkdir -p "${GITHUB_WORKSPACE}/workdir"
|
|
|
|
- run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}/workdir" ]]'
|
|
working-directory: workdir
|
|
|
|
top-level-workdir:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: '[[ "$(pwd)" == "/tmp" ]]'
|