Skip to content

Commit 8081f25

Browse files
committed
Trying ubuntu job
1 parent 3bfc1d0 commit 8081f25

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
windows-build:
10-
name: 'Windows'
10+
name: 'Windows Latest'
1111
runs-on: windows-latest
1212
if: contains(github.event.head_commit.message, '[skip ci]') != true
1313
steps:
@@ -30,3 +30,27 @@ jobs:
3030
with:
3131
name: obs-websocket-http-Windows
3232
path: dist/obs-websocket-http*
33+
linux-build:
34+
name: 'Ubuntu Latest'
35+
runs-on: ubuntu-latest
36+
if: contains(github.event.head_commit.message, '[skip ci]') != true
37+
steps:
38+
- name: Checkout Repository
39+
uses: actions/checkout@v2
40+
41+
- name: Install Python 3.9
42+
uses: actions/setup-python@v2
43+
with:
44+
python-version: 3.9
45+
46+
- name: Install Python Prerequisites
47+
run: pip install -r requirements.txt pyinstaller
48+
49+
- name: Run PyInstaller
50+
run: pyinstaller main.py --onefile --name obs-websocket-http --icon data/irltk_icon.ico
51+
52+
- name: Upload Artifacts
53+
uses: actions/upload-artifact@v2
54+
with:
55+
name: obs-websocket-http-Ubuntu
56+
path: dist/obs-websocket-http*

0 commit comments

Comments
 (0)