-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (31 loc) · 1005 Bytes
/
ci.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
name: Build
on: [push,pull_request]
jobs:
Build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dotnet workloads
run: dotnet workload install android ios tvos
- name: Build
run: dotnet pack FreeTypeSharp/FreeTypeSharp.csproj
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }} Artifacts
path: |
FreeTypeSharp/bin/Release/*.nupkg
BuildUWP:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
run: msbuild FreeTypeSharp/FreeTypeSharp.UWP.csproj -t:Restore,Pack /property:Configuration=Release
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }} UWP Artifacts
path: |
FreeTypeSharp/bin/Release/*.nupkg