Skip to content

Commit 0d9d7a1

Browse files
committed
Merge remote-tracking branch 'origin/main' into automatic-builds
2 parents fe014d5 + 5ff9fa5 commit 0d9d7a1

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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/

.github/workflows/manual-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
13+
os: ['ubuntu-latest', 'macos-latest']
1414

1515
steps:
1616
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)