Skip to content

Commit c0a5de6

Browse files
authored
add publish
1 parent 0f1f611 commit c0a5de6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
os: [win-x64, linux-x64]
911

1012
steps:
1113
- uses: actions/checkout@v2
@@ -14,4 +16,6 @@ jobs:
1416
with:
1517
dotnet-version: 3.1.100
1618
- name: Build with dotnet
17-
run: dotnet build --configuration Release
19+
run: dotnet build -c Release
20+
- name: Publish
21+
run: dotnet publish -c Release -r ${{ matrix.os }} --self-contained

0 commit comments

Comments
 (0)