Skip to content

Commit

Permalink
try package restore
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Aug 8, 2024
1 parent ad03326 commit 6a53072
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
with:
dotnet-version: 6.0.x

- name: Package restore
run: dotnet restore

# ************** REMOVE AFTER RELEASE ********************
- name: Pack .NET SDK
run: dotnet pack -c Release
working-directory: binding/dotnet

- name: Add local NuGet package file
run: dotnet add package -s ../../../binding/dotnet/Rhino/bin/Release Rhino
# ********************************************************

- name: Dotnet build micdemo
run: dotnet build -c MicDemo.Release

Expand Down Expand Up @@ -72,11 +84,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Package restore
run: dotnet restore

# ************** REMOVE AFTER RELEASE ********************
- name: Pack .NET SDK
run: |
dotnet build
dotnet pack -c Release
run: dotnet pack -c Release
working-directory: binding/dotnet

- name: Add local NuGet package file
Expand Down

0 comments on commit 6a53072

Please sign in to comment.