From 8ea3fed8ad08fb73f9427ebfe28c73eac7c40b3d Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Fri, 7 Jan 2022 18:50:08 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b16709d..bf7c70b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,11 +18,14 @@ jobs: configuration: [Debug, Release] include: - os: ubuntu-latest - COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -c "${{ matrix.configuration }}" -r ubuntu.18.04-x64 --no-self-contained + COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained + COMMAND2: "" - os: macOS-latest - COMMAND: AM2RLauncher.Mac -c "${{ matrix.configuration }}" + COMMAND: AM2RLauncher.Mac + COMMAND2: "" - os: windows-latest - COMMAND: AM2RLauncher.Wpf -c "${{ matrix.configuration }}" -r win-x86 -o "builds\win86" && ROBOCOPY "builds\win86" "builds\win86\lib\ " /XF *.exe *.config *.manifest /XD lib logs data /E /IS /MOVE + COMMAND: AM2RLauncher.Wpf -r win-x86 -o "builds\win86" + COMMAND2: ROBOCOPY "builds\win86" "builds\win86\lib\ " /XF *.exe *.config *.manifest /XD lib logs data /E /IS /MOVE runs-on: ${{ matrix.os }} @@ -35,5 +38,5 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - working-directory: ./AM2RLauncher - run: dotnet publish "${{ matrix.COMMAND }}" + working-directory: ./AM2RLauncher "${{ matrix.COMMAND }}" -c "${{ matrix.configuration }}" && "${{ matrix.COMMAND2 }}" + run: dotnet publish "${{ matrix.COMMAND }}" -c "${{ matrix.configuration }}"