Implement circular reference handling. (#4) #18
Workflow file for this run
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
name: .NET CI/CD Pipeline | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up .NET SDK (for .NET 9.0) | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '9.0.x' # Setup .NET 9.0 | |
- name: Restore dependencies for .NET 9.0 | |
run: dotnet restore src/Mappy/Mappy.csproj | |
- name: Build Project for .NET 9.0 | |
run: dotnet build src/Mappy/Mappy.csproj | |
- name: Pack the project as a NuGet package for .NET 9.0 | |
run: dotnet pack src/Mappy/Mappy.csproj -c Release -o artifacts | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifacts | |
path: src/Mappy/bin/Release/net9.0 | |
if-no-files-found: warn | |
include-hidden-files: false | |
#- name: Publish to GitHub Packages | |
# env: | |
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
# run: | | |
# dotnet nuget push artifacts/*.nupkg --source $NUGET --api-key $NUGET_API_KEY |