-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.15 KB
/
build.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
name: build
on:
workflow_dispatch:
push:
branches:
- '**'
paths:
- '**.py'
# this does nothing as expected
defaults:
run:
working-directory: ./server
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
spec: 'server/vrc-patpatpat.spec'
requirements: 'server/requirements.txt'
upload_exe_with_name: 'vrc-patpatpat'
- uses: actions/upload-artifact@v4
with:
name: xref-vrc-patpatpat.html
path: ./build/vrc-patpatpat/xref-vrc-patpatpat.html
build-windows-debug:
runs-on: windows-latest
steps:
- name: Create Executable with debug enabled
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
spec: 'server/vrc-patpatpat-debug.spec'
requirements: 'server/requirements.txt'
upload_exe_with_name: 'vrc-patpatpat-debug'
- uses: actions/upload-artifact@v4
with:
name: xref-vrc-patpatpat-debug.html
path: ./build/vrc-patpatpat-debug/xref-vrc-patpatpat-debug.html