Skip to content

Commit

Permalink
add publish
Browse files Browse the repository at this point in the history
  • Loading branch information
codehz authored Feb 8, 2020
1 parent 0f1f611 commit c0a5de6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
os: [win-x64, linux-x64]

steps:
- uses: actions/checkout@v2
Expand All @@ -14,4 +16,6 @@ jobs:
with:
dotnet-version: 3.1.100
- name: Build with dotnet
run: dotnet build --configuration Release
run: dotnet build -c Release
- name: Publish
run: dotnet publish -c Release -r ${{ matrix.os }} --self-contained

0 comments on commit c0a5de6

Please sign in to comment.