diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0ea8f80..0649ff5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -32,6 +32,12 @@ jobs: exit 1 fi cat requirements.txt + + - name: Extract dependencies with pipgrip + run: | + source .venv/bin/activate + pipgrip $(cat pipgrip.lock) --lock + - name: Install Python Dependencies run: | @@ -65,7 +71,7 @@ jobs: id: build_package run: | source .venv/bin/activate # Activate virtual environment - p4a create --requirements=$(paste -s -d, requirements.txt) --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROID_SDK_ROOT --ndk-dir $ANDROID_NDK_HOME --dist-name mydist + p4a create --requirements=$(paste -s -d, pipgrip.lock) --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROID_SDK_ROOT --ndk-dir $ANDROID_NDK_HOME --dist-name mydist - name: Zip mydist folder