File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Manual build workflow
2+
3+ on :
4+ workflow_dispatch :
5+
6+
7+ jobs :
8+ build :
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ os : ['windows-latest']
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-python@v2
18+ with :
19+ python-version : 3.9
20+ - run : pip install -r requirements.txt
21+ - run : python scripts/download-tools.py
22+ - run : pyinstaller openandroidinstaller/openandroidinstaller.py --noconsole --noconfirm --onefile --icon "openandroidinstaller/assets/favicon.ico" --add-data "openandroidinstaller/assets;assets" --add-binary "openandroidinstaller/bin/adb;bin" --add-binary "openandroidinstaller/bin/fastboot;bin" --add-binary "openandroidinstaller/bin/heimdall;bin"
23+ # Optionally verify that it works (provided that it does not need user interaction)
24+ # - run: ./dist/your-code/your-code
25+ - uses : actions/upload-artifact@v3
26+ with :
27+ name : openandroidinstaller-${{ github.sha }}-${{ matrix.os }}
28+ path : dist/
You can’t perform that action at this time.
0 commit comments