Update .forgejo/workflows/test.yml
Some checks failed
Run Tests on Code / test (push) Has been cancelled

This commit is contained in:
Neshura 2023-12-20 08:01:30 +00:00
parent 8442f06249
commit 322cbfbfa3

View file

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