act/pkg/runner/testdata/workdir/push.yml

25 lines
462 B
YAML
Raw Normal View History

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" ]]'