-
Notifications
You must be signed in to change notification settings - Fork 29
48 lines (43 loc) · 1.08 KB
/
exe.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
46
47
48
name: Update exes
on:
push:
paths:
- 'exe/**'
branches-ignore:
- main
- pages
defaults:
run:
shell: cmd
jobs:
update:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
winapi:
- 'exe/winapi/**'
zip:
- 'exe/zip/**'
- name: winapi
if: steps.filter.outputs.winapi == 'true'
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\vsdevcmd.bat"
cd exe\winapi
call build.bat
- name: zip
if: steps.filter.outputs.zip == 'true'
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\vsdevcmd.bat"
cd exe\zip
call build.bat
- name: Add results to PR
run: |
git config user.name "GitHub action"
git config user.email "[email protected]"
git add exe
git commit -m "update from CI"
git push