⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Commit 96a0d28

Browse files
Fix version extraction command in workflow
1 parent d81ba14 commit 96a0d28

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ jobs:
1818
- name: Extract version
1919
id: version
2020
run: |
21-
VERSION=$(python - <<'PY'
22-
import tomllib
23-
data = tomllib.load(open("pyproject.toml", "rb"))
24-
print(data["project"]["version"])
25-
PY
26-
)
21+
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
2722
echo "version=${VERSION}" >> $GITHUB_OUTPUT
2823
2924
- name: Set up QEMU

0 commit comments

Comments
 (0)