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

17 lines
396 B
YAML

name: workdir
on: push
jobs:
workdir:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: ls -alFt "${GITHUB_WORKSPACE}/workdir"
- run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}/workdir" ]]'
working-directory: workdir
noworkdir:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}" ]]'