Update .forgejo/workflows/test.yml
Some checks failed
Run Tests on Code / test (push) Failing after 2s

This commit is contained in:
Neshura 2023-12-20 07:55:56 +00:00
parent a6dc1b31dc
commit 9b33e4b771

View file

@ -17,8 +17,8 @@ jobs:
- -
name: Test name: Test
run: | run: |
echo $(cat package.json | grep -E "version") echo $(cat package.json | grep -E "\"version\"")
VERSION=$(cat package.json | grep -E "version" | cut -f2- -d= | tr -d \" | tr -d " ") VERSION=$(cat package.json | grep -E "(^|\|)version\":" | cut -f2- -d= | tr -d \" | tr -d " ")
- -
name: Get Yarn Cache Directory name: Get Yarn Cache Directory
id: yarn-cache-dir-path id: yarn-cache-dir-path