name: workdir on: push jobs: workdir: runs-on: ubuntu-latest steps: - run: mkdir -p "${GITHUB_WORKSPACE}/workdir" - run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}/workdir" ]]' working-directory: workdir noworkdir: runs-on: ubuntu-latest steps: - run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}" ]]'