From 11390830369b9cd3bfec00184b8aa12caa2bc259 Mon Sep 17 00:00:00 2001 From: punker76 Date: Fri, 25 Oct 2024 01:09:21 +0200 Subject: [PATCH] ci: we need .net8 --- .github/workflows/dotnetcore.yml | 120 +++++++++++++++---------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4193534..f30436a 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -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 \ No newline at end of file