Skip to content

fix "Plugin not found" #151

fix "Plugin not found"

fix "Plugin not found" #151

Workflow file for this run

name: Nuget Build
on: [push]
jobs:
nuget:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup NuGet
uses: NuGet/[email protected]
- uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- uses: actions/setup-java@v2
with:
distribution: "microsoft"
java-version: "11"
- name: Install MAUI Workloads
run: |
dotnet workload install android --ignore-failed-sources
dotnet workload install ios --ignore-failed-sources
dotnet workload install maui --ignore-failed-sources
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Add private GitHub registry to NuGet
run: nuget sources add -name "GitHub" -source "https://nuget.pkg.github.com/xDaijobu/index.json" -userName xDaijobu -password ${{ secrets.Daijobu_Registry }}
- name: restore LocalNotifications.sln
run: nuget restore Source/LocalNotifications.sln
- name: build LocalNotifications.csproj
run: msbuild Source/LocalNotifications/LocalNotifications.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug
- uses: actions/[email protected]
with:
name: LocalNotifications
path: Source/LocalNotifications/bin/Debug/
- name: Push generated package to GitHub registry
run: nuget push **/*.nupkg -Source "GitHub" -SkipDuplicate