Skip to content

Commit

Permalink
ci: we need .net8
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Oct 24, 2024
1 parent 9461fa6 commit 1139083
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
name: Build with .NET Core

on: [push]

jobs:
publishlinux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r linux-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_linux-x64
path: src/AvaloniaApp/bin/Release/net6.0/linux-x64/publish

publishwin:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r win-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_winx64
path: src/AvaloniaApp/bin/Release/net6.0/win-x64/publish

publishmac:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r osx-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_osx
name: Build with .NET Core

on: [push]

jobs:
publishlinux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r linux-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_linux-x64
path: src/AvaloniaApp/bin/Release/net6.0/linux-x64/publish

publishwin:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r win-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_winx64
path: src/AvaloniaApp/bin/Release/net6.0/win-x64/publish

publishmac:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Publish with dotnet
run: dotnet publish ./src/AvaloniaApp/AvaloniaApp.csproj -r osx-x64 -c Release -f net6.0
- name: Archive publish artifacts
uses: actions/upload-artifact@v4
with:
name: AvaloniaApp_net60_osx
path: src/AvaloniaApp/bin/Release/net6.0/osx-x64/publish

0 comments on commit 1139083

Please sign in to comment.