diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 218fbad..2645d7a 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -63,8 +63,8 @@ jobs: shell: bash run: | source $CI_PROJECT_ROOT/ci/micropython.sh && ci_debug - source $(dpkg -L virtualenvwrapper | grep "virtualenvwrapper.sh") - mkvirtualenv "dir2uf2" + python3 -m venv "$CI_BUILD_ROOT/.dir2uf2" + source "$CI_BUILD_ROOT/.dir2uf2/bin/activate" ci_cmake_build ${{ matrix.name }} mv "$CI_BUILD_ROOT/${{ matrix.name }}.uf2" "$CI_BUILD_ROOT/$RELEASE_FILE.uf2" mv "$CI_BUILD_ROOT/${{ matrix.name }}-with-filesystem.uf2" "$CI_BUILD_ROOT/$RELEASE_FILE-with-filesystem.uf2"