Rename workflow and fix package version detection path

NP-732
This commit is contained in:
saumyaj3 2025-02-11 10:35:36 +01:00
parent 1e66a0c9c3
commit 26eb14bac1

View File

@ -1,4 +1,4 @@
name: conan-package-resources
name: conan-package-resources-and-notify
on:
push:
@ -38,7 +38,7 @@ jobs:
id: get-package-version
run: |
# Replace this with your real logic to determine the package version
PACKAGE_VERSION=$(cat ./resources/conanfile.py | grep version | head -n 1 | cut -d '"' -f 2)
PACKAGE_VERSION=$(cat ./conanfile.py | grep version | head -n 1 | cut -d '"' -f 2)
echo "Detected package version: $PACKAGE_VERSION"
echo "package_version=$PACKAGE_VERSION" >> $GITHUB_ENV