Fix build workflow

This commit is contained in:
Sipke Schoorstra 2020-04-19 13:13:20 +02:00
parent 86cec862f8
commit e8cd4f0f26

View file

@ -11,17 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.102
- name: Install dependencies
run: dotnet restore Elsa.sln
- name: Build
run: dotnet pack Elsa.sln --include-symbols -c Release -o out
- name: Push to GitHub registry
with:
source-url: https://nuget.pkg.github.com/<organization>/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: dotnet nuget push ./<project>/out/*.nupkg --skip-duplicate --no-symbols true
- name: Install dependencies
run: dotnet restore Elsa.sln
- name: Build
run: dotnet pack Elsa.sln --include-symbols -c Release -o out
- name: Push to GitHub registry
run: dotnet nuget push ./<project>/out/*.nupkg --skip-duplicate --no-symbols true