Skip to content

Commit 70ba772

Browse files
committed
feat: use python-version-file
1 parent 8ef6a02 commit 70ba772

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ runs:
129129
uses: actions/setup-python@v6
130130
if: inputs.enable_python == 'true'
131131
with:
132-
python-version: ${{ inputs.python_version || '3.10' }}
132+
python-version-file: pyproject.toml
133+
python-version: ${{ inputs.python_version || null }}
133134
# cache: ${{ inputs.enable_python_cache == 'true' && 'pip' || null }} Disable cache as uv is probably faster anyways: https://github.com/actions/setup-python/issues/822
134135
- name: Install additional python requirements
135136
if: inputs.enable_python == 'true'

.github/workflows/build-docker-artifacts-trigger-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
customer: c,
8383
customer_json: JSON.stringify(config.push[c]),
8484
image_tag: imageTagAfterRetag,
85-
}));
85+
})).filter((c) => c.customer_json);
8686
console.log(result);
8787
return result;
8888
env:

0 commit comments

Comments
 (0)