From fd344f815a782ca79ba2bc80efc86249d4f3cba1 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Mon, 31 Oct 2022 13:05:26 +0100 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 0b5bf1b..96eaa57 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -22,7 +22,8 @@ jobs: - os: windows-latest COMMAND: AM2RLauncher.Wpf -r win-x86 ARTIFACT: AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\ - POSTBUILD: mv ${{ matrix.ARTIFACT }}\AM2RLauncher.Wpf.exe ${{ matrix.ARTIFACT }}\AM2RLauncher.exe && mv ${{ matrix.ARTIFACT }}\AM2RLauncher.Wpf.exe.config ${{ matrix.ARTIFACT }}\AM2RLauncher.exe.config && rmdir /s ${{ matrix.ARTIFACT }}\publish + # This is very ugly, *please* tell me a better way to do this + POSTBUILD: mv AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.Wpf.exe AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.exe && mv AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.Wpf.exe.config AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.exe.config && rmdir /s AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\publish runs-on: ${{ matrix.os }}