From 9d4b4c7d7b76eceb87d46ba55c9aef589e6bbb0a Mon Sep 17 00:00:00 2001 From: olebeck <31539311+olebeck@users.noreply.github.com> Date: Thu, 28 Jan 2021 12:35:09 +0100 Subject: [PATCH] aaaa --- .github/workflows/dotnet.yml | 43 +++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f4854b9..1022877 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,11 +25,25 @@ jobs: - name: Restore dependencies run: dotnet restore - - name: Build linux-64 - run: dotnet publish -r linux-x64 --self-contained false - + - name: Build win-64 - run: dotnet publish -r win-x64 --self-contained false + run: dotnet publish -p:PublishProfile=Win64.pubxml + + - name: Build win-32 + run: dotnet publish -p:PublishProfile=Win32.pubxml + + + - name: Build linux-64 + run: dotnet publish -p:PublishProfile=Linux64.pubxml + + - name: Build linux-arm + run: dotnet publish -p:PublishProfile=LinuxARM.pubxml + + - name: Build linux-arm64 + run: dotnet publish -p:PublishProfile=LinuxARM64.pubxml + + + - name: upload linux-64 uses: actions/upload-artifact@v2 @@ -37,9 +51,28 @@ jobs: name: linux-x64 path: Horse Isle Server/HorseIsleServer/bin/Debug/net5.0/linux-x64/publish/ + - name: upload linux-arm + uses: actions/upload-artifact@v2 + with: + name: linux-arm + path: Horse Isle Server/HorseIsleServer/bin/ARM/net5.0/linux-ARM/publish/ + + - name: upload linux-arm64 + uses: actions/upload-artifact@v2 + with: + name: linux-arm64 + path: Horse Isle Server/HorseIsleServer/bin/ARM64/net5.0/linux-ARM64/publish/ + + - name: upload-win64 uses: actions/upload-artifact@v2 with: name: win-64 - path: Horse Isle Server/HorseIsleServer/bin/Debug/net5.0/win-x64/publish/ + path: Horse Isle Server/HorseIsleServer/bin/Windows/net5.0/win-x64/publish/ + + - name: upload-win32 + uses: actions/upload-artifact@v2 + with: + name: win-32 + path: Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish\/