From 0009e4828071537a1f9d6f0cc6c418a6c89b85b7 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 21 Nov 2022 12:40:02 -0800 Subject: [PATCH] Run publish-python using the matrix python version --- action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 70bd90a..7dbe666 100644 --- a/action.yaml +++ b/action.yaml @@ -36,8 +36,9 @@ runs: python -m pip install -U PyYAML wheel python $PUBLISH_PYTHON/bin/publish-python wheel:pypi if [ -f /etc/debian_version ]; then - sudo apt install -y debhelper dh-python fakeroot python3-all python3-stdeb python3-yaml - DEB_BUILD_OPTIONS=nocheck /usr/bin/python3 $PUBLISH_PYTHON/bin/publish-python stdeb:packagecloud + sudo apt install -y debhelper dh-python fakeroot python3-all + python -m pip install -U stdeb + DEB_BUILD_OPTIONS=nocheck python $PUBLISH_PYTHON/bin/publish-python stdeb:packagecloud else echo "Skipping stdeb test on non-Debian platform..." fi