Fix actions version check directory
All checks were successful
Run Tests on Code / run-tests (push) Successful in 4s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 4s
This commit is contained in:
parent
717e3fda49
commit
48143979e5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ jobs:
|
|||
-
|
||||
name: Check if Version in Cargo.toml matches Tag
|
||||
run: |
|
||||
VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
VERSION=$(cat src/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
if test $VERSION != "${{ github.ref_name }}"; then
|
||||
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
|
||||
exit 1
|
||||
|
|
Reference in a new issue