Skip to content

refactor: convert code for Avalonia 11 #25

refactor: convert code for Avalonia 11

refactor: convert code for Avalonia 11 #25

Workflow file for this run

name: Build with .NET Core
on: [push]
jobs:
publishlinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/MyApp/MyApp.csproj -r linux-x64 -c Release -f net5.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v2
with:
name: AvaloniaApp_net50_linux-x64
path: src/MyApp/bin/Release/net5.0/linux-x64/publish
publishwin:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/MyApp/MyApp.csproj -r win-x64 -c Release -f net5.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v2
with:
name: AvaloniaApp_net50_winx64
path: src/MyApp/bin/Release/net5.0/win-x64/publish
publishmac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/MyApp/MyApp.csproj -r osx-x64 -c Release -f net5.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v2
with:
name: AvaloniaApp_net50_osx
path: src/MyApp/bin/Release/net5.0/osx-x64/publish