Add text support for extensions. Thanks, @sn4k3 #242
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: 8.0.401 | |
- name: Setup Windows SDK 10.0.18362.0 | |
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2 | |
with: | |
sdk-version: 18362 | |
- name: Build and Pack | |
run: | | |
dotnet build Material.Icons -c Release /p:Platform="Any CPU" | |
dotnet build Material.Icons.WPF -c Release /p:Platform="Any CPU" | |
dotnet build Material.Icons.Avalonia -c Release /p:Platform="Any CPU" | |
dotnet build Material.Icons.WinUI3 -c Release /p:Platform="Any CPU" | |
- 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 |