use project dir instead of /github/workspace (#567)

This commit is contained in:
rockandska
2021-03-29 06:32:45 +02:00
committed by GitHub
parent 6c258cf40d
commit 6cde8f64dc
4 changed files with 20 additions and 21 deletions

View File

@@ -6,12 +6,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: ls -alFt /github/workspace/workdir
- run: '[[ "$(pwd)" == "/github/workspace/workdir" ]]'
- 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" ]]'
- run: '[[ "$(pwd)" == "${GITHUB_WORKSPACE}" ]]'