Skip to content

Commit

Permalink
infer build from nupkg
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Jul 9, 2024
1 parent 8f62a0a commit 0405ae1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet_temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,12 @@ jobs:
path: tests/dotnet/lib
- name: test dotnet
run: |
dotnet nuget add source $(pwd)/tests/dotnet/lib -n local_rhino3dm
NUGET_FILE="$(find tests/dotnet/lib -type f -name "*.nupkg")"
FILENAME=$(basename ${NUGET_FILE})
NAME=${FILENAME%.*}
VERSION=${NAME:9}
dotnet nuget add source $(pwd)/tests/dotnet/lib
cd tests/dotnet/rhino3dm_test
dotnet add package Rhino3dm -v 8.9.0-beta
dotnet add package Rhino3dm -v ${VERSION}
dotnet build
dotnet test

0 comments on commit 0405ae1

Please sign in to comment.