-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (36 loc) · 843 Bytes
/
linux.yml
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
38
39
40
41
42
43
44
45
name: Build and Upload - Linux
on:
push:
branches:
- nobridge
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [amd64, x86, arm64, armhf]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install PyInstaller
run: |
lscpu
pip install pyinstaller
- name: Build with PyInstaller
run: |
pyinstaller --onefile main.py
mv dist/main dist/umsktpy
cp keys.json dist/keys.json
- name: Run umsktpy
run: |
cd dist
./umsktpy
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: umsktpy-linux-${{ matrix.platform }}
path: dist