2020-03-14 02:00:37 -05:00
|
|
|
on: push
|
|
|
|
|
2021-08-10 14:40:20 -05:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: /tmp
|
|
|
|
|
2020-03-14 02:00:37 -05:00
|
|
|
jobs:
|
|
|
|
workdir:
|
|
|
|
runs-on: ubuntu-latest
|
2021-08-10 14:40:20 -05:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: /root
|
2020-03-14 02:00:37 -05:00
|
|
|
steps:
|
2021-08-10 14:40:20 -05:00
|
|
|
- run: '[[ "$(pwd)" == "/root" ]]'
|
|
|
|
|
|
|
|
- run: mkdir -p "${GITHUB_WORKSPACE}/workdir"
|
|
|
|
|
|
|
|
- run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}/workdir" ]]'
|
|
|
|
working-directory: workdir
|
2020-03-14 02:00:37 -05:00
|
|
|
|
2021-08-10 14:40:20 -05:00
|
|
|
top-level-workdir:
|
2020-03-14 02:00:37 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-08-10 14:40:20 -05:00
|
|
|
- run: '[[ "$(pwd)" == "/tmp" ]]'
|