Added ios notification action icon support #538
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: Nuget Build | |
on: [push] | |
jobs: | |
nuget: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'microsoft' | |
java-version: '17' | |
- 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/thudugala/index.json" -userName thudugala -password ${{ secrets.Elvin_Package_Registry }} | |
- name : restore Plugin.LocalNotification.sln | |
run: nuget restore Source/Plugin.LocalNotification.sln | |
- name: build Plugin.LocalNotification.csproj | |
run: msbuild Source/Plugin.LocalNotification/Plugin.LocalNotification.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug | |
- uses: actions/[email protected] | |
with: | |
name: Plugin.LocalNotification | |
path: Source/Plugin.LocalNotification/bin/Debug/ | |
- name: Push generated package to GitHub registry | |
run: nuget push **/*.nupkg -Source "GitHub" -SkipDuplicate | |