-
Notifications
You must be signed in to change notification settings - Fork 121
42 lines (34 loc) · 1.01 KB
/
CIBuild.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: CI
on:
push:
branches:
- main
- release/*
paths-ignore:
- 'docs/**'
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: windows-latest
steps:
- name: Clone Toolkit
uses: actions/checkout@v1
- name: Setup Visual Studio Command Prompt
uses: microsoft/[email protected]
- name: Build
run: |
msbuild /restore /t:Build src/Esri.ArcGISRuntime.Toolkit.sln /p:Configuration=Release
# msbuild /restore /t:Build src/Esri.ArcGISRuntime.ARToolkit.sln /p:Configuration=Release
- name: Upload artfacts
uses: actions/upload-artifact@v4
with:
name: NuGet Packages
path: Output/NuGet/Release
- name: Publish to Esri Nuget Repo
if: ${{ github.ref == 'refs/heads/main' }}
run: |
dotnet nuget push Output\NuGet\Release\*.nupkg --api-key ${{ secrets.GithubPushPackagesSecret }} --source https://nuget.pkg.github.com/esri/index.json