-
Notifications
You must be signed in to change notification settings - Fork 78
37 lines (33 loc) · 980 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Executable Build
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
architecture: [x86, x64]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9.7
architecture: ${{ matrix.architecture }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv --python C:\hostedtoolcache\windows\Python\3.9.7\${{ matrix.architecture }}\python.exe install --dev
pipenv install pyinstaller
- name: Build executable
run: |
pipenv run pyinstaller --onefile unitypackage_extractor/extractor.py
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: windows-build-${{ matrix.architecture }}
path: dist/**/*