Skip to content

Commit

Permalink
Fix deployment workflow to specify runner and install dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelGosselin committed May 25, 2020
1 parent 0312891 commit d8c3e68
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,26 @@ on:
jobs:
deploy:

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v2

- name: Build and package with dotnet
run: dotnet pack -c Release
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Package
run: dotnet pack --configuration Release --no-build

- name: Push to nuget.org
env:
Expand Down

0 comments on commit d8c3e68

Please sign in to comment.