Fix build workflow
This commit is contained in:
parent
86cec862f8
commit
e8cd4f0f26
17
.github/workflows/elsa-2.0.yml
vendored
17
.github/workflows/elsa-2.0.yml
vendored
|
|
@ -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
|
||||
Loading…
Reference in a new issue