forked from Espyo/Pikifen
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (26 loc) · 1022 Bytes
/
compile_windows.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
name: Compile for Windows
on:
[workflow_dispatch]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Setup Nuget
uses: nuget/[email protected]
- name: Restore Nuget packages
run: nuget restore source\visual_studio_2022\pikifen.sln
- name: Build app for release
run: msbuild source\visual_studio_2022\pikifen.vcxproj -t:rebuild -verbosity:n -property:Configuration=Release -property:Platform=x64
- name: Copy Files to build directory
run: |
new-item ${{ github.workspace }}\build -itemtype directory
copy-item -Path ${{ github.workspace }}\source\visual_studio_2022\x64\Release\pikifen.exe -Destination ${{ github.workspace }}\build -PassThru
- name: Publish artifact
uses: actions/[email protected]
with:
name: Pikifen
path: ${{ github.workspace }}\build\