From 89a40382fee4dff374f4185b3231a2c3cdb609ee Mon Sep 17 00:00:00 2001 From: olebeck <31539311+olebeck@users.noreply.github.com> Date: Thu, 28 Jan 2021 13:22:07 +0100 Subject: [PATCH] copy data needed --- .github/workflows/dotnet.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1e41fcb..53029dd 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -28,24 +28,39 @@ jobs: - name: Build win-64 continue-on-error: true - run: dotnet publish -p:PublishProfile=Win64.pubxml + run: | + dotnet publish -p:PublishProfile=Win64.pubxml + cp ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/Windows/net5.0/win-x64/publish/" + cp ../DataCollection/HI1.MAP "Horse Isle Server/HorseIsleServer/bin/Windows/net5.0/win-x64/publish/" - name: Build win-32 continue-on-error: true - run: dotnet publish -p:PublishProfile=Win32.pubxml + run: | + dotnet publish -p:PublishProfile=Win32.pubxml + cp ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/" + cp ../DataCollection/HI1.MAP "Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/" - name: Build linux-64 continue-on-error: true - run: dotnet publish -p:PublishProfile=Linux64.pubxml + run: | + dotnet publish -p:PublishProfile=Linux64.pubxml + cp ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/" + cp ../DataCollection/HI1.MAP "Horse Isle Server/HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/" - name: Build linux-arm continue-on-error: true - run: dotnet publish -p:PublishProfile=LinuxARM.pubxml + run: | + dotnet publish -p:PublishProfile=LinuxARM.pubxml + cp ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/" + cp ../DataCollection/HI1.MAP "Horse Isle Server/HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/" - name: Build linux-arm64 continue-on-error: true - run: dotnet publish -p:PublishProfile=LinuxARM64.pubxml + run: | + dotnet publish -p:PublishProfile=LinuxARM64.pubxml + cp ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/" + cp ../DataCollection/HI1.MAP "Horse Isle Server/HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/" @@ -79,5 +94,5 @@ jobs: uses: actions/upload-artifact@v2 with: name: win-32 - path: Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish\/ + path: Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/