-
Notifications
You must be signed in to change notification settings - Fork 17
71 lines (58 loc) · 2.04 KB
/
build_wintools.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: build_wintools
on:
push: {tags: ['v*'] } # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
permissions:
contents: write
jobs:
build_winexe_winloader:
runs-on: windows-2019
steps:
- name: pull and init
uses: actions/checkout@v3
with: {submodules: true}
- name: add msbuild to path
uses: microsoft/setup-msbuild@v1.1
- name: build target
run: .\project\winexe_winloader\release_msvc.bat
- name: upload release
uses: ncipollo/release-action@v1
if: github.event_name == 'push'
with:
artifacts: "./project/winexe_winloader/build/winloader32.exe,./project/winexe_winloader/build/winloader64.exe"
allowUpdates: "true"
token: ${{ secrets.GITHUB_TOKEN }}
build_windll_winhook:
runs-on: windows-2019
steps:
- name: pull and init
uses: actions/checkout@v3
with: {submodules: true}
- name: add msbuild to path
uses: microsoft/setup-msbuild@v1.1
- name: build target
run: .\project\windll_winhook\release_msvc.bat
- name: upload release
uses: ncipollo/release-action@v1
if: github.event_name == 'push'
with:
artifacts: "./project/windll_winhook/build/libwinhook32.dll,./project/windll_winhook/build/libwinhook64.dll"
allowUpdates: "true"
token: ${{ secrets.GITHUB_TOKEN }}
build_windll_winpe:
runs-on: windows-2019
steps:
- name: pull and init
uses: actions/checkout@v3
with: {submodules: true}
- name: add msbuild to path
uses: microsoft/setup-msbuild@v1.1
- name: build target
run: .\project\windll_winpe\release_msvc.bat
- name: upload release
uses: ncipollo/release-action@v1
if: github.event_name == 'push'
with:
artifacts: "./project/windll_winpe/build/libwinpe32.dll,./project/windll_winpe/build/libwinpe64.dll"
allowUpdates: "true"
token: ${{ secrets.GITHUB_TOKEN }}