name: Unit Tests macOS Nuget
description: This tests the macOS nugets package.
runs:
using: composite
steps:
- name: Download Config
uses: actions/download-artifact@v4
with:
name: config.txt
path: ./wrappers/csharp
- name: Download Nugets Libs
uses: actions/download-artifact@v4
with:
pattern: nugets-*
merge-multiple: true
path: ./wrappers/csharp/tests/unit-tests/nugets/Nugets
- name: Add local nuget source
shell: bash
run: |
dotnet nuget add source /Users/runner/work/devolutions-crypto/devolutions-crypto/wrappers/csharp/tests/unit-tests/nugets/Nugets -n LocalPackages
dotnet nuget list source
- name: Install macOS Workload
shell: bash
run: sudo dotnet workload install macos
- name: Unit tests
working-directory: ./wrappers/csharp/tests/unit-tests/nugets
shell: bash
run: dotnet test ./dotnet-core/dotnet-core.csproj