Skip to content

Commit dbdc259

Browse files
authored
Create workflow actions
1 parent 6860dfd commit dbdc259

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/python-app.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: open.mp server browser
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
15+
runs-on: windows-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up Python 3.8.2
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: "3.8.2"
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install PyInstaller
27+
python -m pip install -r requirements.txt
28+
- name: Build with PyInstaller
29+
run: |
30+
PyInstaller main.spec

0 commit comments

Comments
 (0)