Skip to content

Commit e119785

Browse files
Create pack.yml
1 parent 12f229b commit e119785

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/pack.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will build a .NET project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+
name: Pack
5+
6+
on:
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v3
18+
with:
19+
dotnet-version: 8.0.x
20+
- name: Restore dependencies
21+
run: dotnet restore ./src
22+
- name: Build
23+
run: dotnet build ./src --configuration Release --no-restore
24+
- name: Test
25+
run: dotnet test ./src --configuration Release --no-build --verbosity normal
26+
- name: Pack
27+
run: dotnet pack ./src/AD.FsCheck.MSTest/AD.FsCheck.MSTest.csproj --configuration Release --no-build --output out
28+
- uses: actions/upload-artifact@v3
29+
with:
30+
name: FsChek_MsTest
31+
path: out/*

0 commit comments

Comments
 (0)