Skip to content

Commit 84088e3

Browse files
authored
Create cipackage.yml
1 parent 5ab7ffb commit 84088e3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/cipackage.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI and Build Package
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
windows64:
9+
runs-on: windows-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Install .NET Core
15+
uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: 9.0.x
18+
19+
- name: Restore dependencies
20+
run: dotnet restore src/FlowCommandLine/FlowCommandLine.csproj
21+
- name: Build
22+
run: dotnet build --configuration Release src/FlowCommandLine/FlowCommandLine.csproj
23+
- name: Tests
24+
run: dotnet test --configuration Release --no-build src/FlowCommandLine/FlowCommandLine.csproj
25+
- name: Pack package
26+
run: dotnet pack --configuration Release --no-build --output . src/FlowCommandLine/FlowCommandLine.csproj

0 commit comments

Comments
 (0)