mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 10:05:56 +08:00
Rename workflow and fix package version detection path
NP-732
This commit is contained in:
parent
1e66a0c9c3
commit
26eb14bac1
@ -1,4 +1,4 @@
|
|||||||
name: conan-package-resources
|
name: conan-package-resources-and-notify
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
id: get-package-version
|
id: get-package-version
|
||||||
run: |
|
run: |
|
||||||
# Replace this with your real logic to determine the package version
|
# 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 "Detected package version: $PACKAGE_VERSION"
|
||||||
echo "package_version=$PACKAGE_VERSION" >> $GITHUB_ENV
|
echo "package_version=$PACKAGE_VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user