Update dotnetcore.yml

This commit is contained in:
Gui.H 2021-08-10 21:48:31 +08:00 committed by GitHub
parent 0d840499dd
commit de93ae5a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,16 +3,16 @@ name: .NET Core
on: [push]
jobs:
#build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.100
# - name: Build with dotnet
# run: dotnet build --configuration Release
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.203
- name: Build with dotnet
run: ./publish-win.sh
publish:
name: build, pack & publish