Skip to content

Commit

Permalink
Add workflow file to test build
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Nov 24, 2023
1 parent 8ce4682 commit 65e3ae5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/testwinuibuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Uno-WinUI .NET test build

on:
push:
branches: [ uno_winui ]

jobs:
build:

runs-on: windows-2019

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8
- name: Build and Pack
run: |
dotnet build Material.Icons -c Release
dotnet build Material.Icons.WinUI -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

0 comments on commit 65e3ae5

Please sign in to comment.