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

This commit is contained in:
rockandska authored and GitHub committed 2021-03-28 21:32:45 -07:00
1 parent 6c258cf40d
commit 6cde8f64dc
4 files changed
+20 -21

No files matched your search

+2 -2
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]