Change JSON data passing method in workflow
This commit is contained in:
parent
d4981cf75c
commit
4a0a7bb0de
1 changed files with 2 additions and 1 deletions
3
.github/workflows/update_versions.yml
vendored
3
.github/workflows/update_versions.yml
vendored
|
|
@ -60,7 +60,8 @@ jobs:
|
|||
git checkout main
|
||||
|
||||
# Run Python script on fresh data
|
||||
python3 update_version.py "$DATA_JSON" "$BUILD_TYPE"
|
||||
# Передаём JSON через stdin (самый надёжный способ)
|
||||
echo "$DATA_JSON" | python3 update_version.py "$BUILD_TYPE"
|
||||
|
||||
# Check if there are changes
|
||||
if ! git diff --quiet versions.json; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue