Skip to content

Workflow file for this run

name: Deploy Release to NuGet
on:
release:
types: [ published ]
jobs:
Publish-NuGet-Package:
runs-on: macos-latest
steps:
- name: Setup .NET Core SDK 8.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Install MAUI Workloads
run: dotnet workload install android ios maui-android maui-ios --ignore-failed-sources
- uses: actions/checkout@v1
- name: Build and Publish
run: |
./build.sh
nuget pack
nuget push *.nupkg ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json