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