From 1d01920ec5ad263d15e931bba4a59d6d9c3d2599 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Thu, 7 Apr 2022 23:09:34 +0100 Subject: [PATCH] Use source for venv activate --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 5238cc3..1086962 100644 --- a/action.yml +++ b/action.yml @@ -43,7 +43,7 @@ runs: shell: bash run: | python -m venv test-sdist - test-sdist/bin/activate + source test-sdist/bin/activate which python python -m pip install --force-reinstall `find dist -name "*.tar.gz"`[${{ inputs.test_extras }}] cd ${{ runner.temp }} @@ -54,7 +54,7 @@ runs: shell: bash run: | python -m venv test-sdist - test-sdist/bin/activate + source test-sdist/bin/activate which python python -m pip install --force-reinstall `find dist -name "*.tar.gz"` cd ${{ runner.temp }} @@ -72,7 +72,7 @@ runs: shell: bash run: | python -m venv test-wheel - test-wheel/bin/activate + source test-wheel/bin/activate which python python -m pip install --force-reinstall `find dist -name "*.whl"`[${{ inputs.test_extras }}] cd ${{ runner.temp }} @@ -83,7 +83,7 @@ runs: shell: bash run: | python -m venv test-wheel - test-wheel/bin/activate + source test-wheel/bin/activate which python python -m pip install --force-reinstall `find dist -name "*.whl"` cd ${{ runner.temp }}