-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 830 Bytes
/
cipackage.yml
File metadata and controls
29 lines (25 loc) · 830 Bytes
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
name: CI and Build Package
on:
push:
branches: [ "main" ]
jobs:
windows64:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore src/FlowCommandLine/FlowCommandLine.sln
- name: Build
run: dotnet build --configuration Release src/FlowCommandLine/FlowCommandLine.sln
- name: Tests
run: dotnet test --configuration Release src/FlowCommandLine/FlowCommandLine.sln
- name: Pack package
run: dotnet pack --configuration Release --no-build --output . src/FlowCommandLine/FlowCommandLine.csproj
- uses: actions/upload-artifact@v4
with:
path: FlowCommandLine.*.nupkg