Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zox47 authored Sep 28, 2024
1 parent 3428e8d commit c4b73ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c4b73ff

Please sign in to comment.