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

@@ -16,8 +16,8 @@ jobs:
args: echo ${INPUT_SOMEKEY} | grep somevalue
- run: ls
- run: echo 'hello world'
- run: echo ${GITHUB_SHA} >> /github/sha.txt
- run: cat /github/sha.txt | grep ${GITHUB_SHA}
- run: echo ${GITHUB_SHA} >> $(dirname "${GITHUB_WORKSPACE}")/sha.txt
- run: cat $(dirname "${GITHUB_WORKSPACE}")/sha.txt | grep ${GITHUB_SHA}
build:
runs-on: ubuntu-latest
needs: [check]