-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 952 Bytes
/
main.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
name: push_release_nuget
# on push on master
on:
push:
branches:
- feat/nuget
paths-ignore:
- README.md
jobs:
build:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@master
with:
submodules: 'recursive'
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1
- name: Setup Nuget.exe
uses: nuget/setup-nuget@v1
- name: Apply patch
run: git apply --ignore-whitespace shared-build.patch
- name: Build yogacore
uses: threeal/[email protected]
with:
source-dir: yoga\yoga
build-dir: out
# - name: Copy yogacore.dll
# run: xcopy "out\Debug\*.dll" "lib\net8.0\" /h /i /c /k /e /r /y
- name: Publish VL Nuget
uses: vvvv/[email protected]
with:
csproj: src\Vl.Yoga.csproj
nuspec: deployment\VL.Yoga.nuspec
nuget-key: ${{ secrets.NUGET_KEY }}