Add UNO package to README.md. Closes #26 #228
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 Publish | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7 | |
- name: Build and Pack | |
run: | | |
dotnet build Material.Icons -c Release | |
dotnet build Material.Icons.WPF -c Release | |
dotnet build Material.Icons.Avalonia -c Release | |
- name: Publish to Nuget | |
run: | | |
dotnet nuget push **/*.nupkg --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate | |
- name: Publish to GitHub Packages | |
run: | | |
dotnet nuget push **/*.nupkg --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/SKProCH/index.json --skip-duplicate |