mirror of
https://gitea.com/gitea/act_runner
synced 2026-11-15 23:39:16 +01:00
use project dir instead of /github/workspace (#567)
This commit is contained in:
1 parent
6c258cf40d
commit
6cde8f64dc
4 files changed
+20
-21
No files matched your search
Vendored
+3
-3
@@ -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}" ]]'
|
||||
Reference in new issue
Block a user