Fix actions version check directory
All checks were successful
Run Tests on Code / run-tests (push) Successful in 4s

This commit is contained in:
Neshura 2023-12-13 19:08:05 +01:00
parent 717e3fda49
commit 48143979e5
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -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