Missed the INvm interface (#295) #621
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET (Mac) | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
pipeline-mac: | |
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pull Requests' }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Cache NuGet | |
uses: actions/cache@v3 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Run Pipeline | |
run: dotnet run -c Release --framework net7.0 | |
working-directory: "src/ModularPipelines.Build" | |
env: | |
DOTNET_ENVIRONMENT: 'Development' | |
GitHub__Actor: ${{ github.actor }} | |
GitHub__Repository__Id: ${{ github.repository_id }} | |
GitHub__PullRequest__Number: ${{ github.event.number }} | |
GitHub__PullRequest__Branch: ${{ github.event.pull_request.head.ref }} | |
GitHub__PullRequest__Author: ${{ github.event.pull_request.user.login }} | |
Publish__ShouldPublish: false | |
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} | |
- name: Upload Code Coverage Results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: code-coverage | |
path: '**/coverage*.xml' |