Skip to content

Commit

Permalink
Fix NuGet package smoke test (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored Aug 8, 2024
1 parent 89c43d1 commit 0b5a857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
needs:
- build-nuget-package
strategy:
fail-fast: true
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-arm, macos-intel, macos-arm, windows-latest]
include:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

- name: Run smoke test
run: |
dotnet add tests/Temporalio.SmokeTest package Temporalio -s "${{ github.workspace }}/nuget-package;https://api.nuget.org/v3/index.json" --prerelease
dotnet add tests/Temporalio.SmokeTest package Temporalio -s "${{ github.workspace }}/nuget-package/Temporalio/bin/Release;https://api.nuget.org/v3/index.json" --prerelease
dotnet run --project tests/Temporalio.SmokeTest
- name: Setup msbuild (Windows only)
Expand All @@ -172,6 +172,6 @@ jobs:
- name: Run .NET framework smoke test (Windows only)
if: ${{ matrix.os == 'windows-latest' }}
run: |
dotnet add tests/Temporalio.SmokeTestDotNetFramework package Temporalio -s "${{ github.workspace }}/nuget-package;https://api.nuget.org/v3/index.json" --prerelease
dotnet add tests/Temporalio.SmokeTestDotNetFramework package Temporalio -s "${{ github.workspace }}/nuget-package/Temporalio/bin/Release;https://api.nuget.org/v3/index.json" --prerelease
msbuild tests/Temporalio.SmokeTestDotNetFramework -t:restore,build -p:Platform=x64
tests/Temporalio.SmokeTestDotNetFramework/bin/x64/Debug/Temporalio.SmokeTestDotNetFramework.exe

0 comments on commit 0b5a857

Please sign in to comment.