diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 18c2b3f..6e1b9c0 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -18,7 +18,7 @@ jobs: - os: macOS-latest COMMAND: AM2RLauncher.Mac -o builds/macOS-latest ARTIFACT: AM2RLauncher/builds/macOS-latest - POSTBUILD: echo "No post build to do!" + POSTBUILD: rm -r AM2RLauncher/builds/macOS-latest/* && mv AM2RLauncher/AM2RLauncher.Mac/bin/Release/net6.0-macos/AM2RLauncher.Mac.app AM2RLauncher/builds/macOS-latest/AM2RLauncher.Mac.app - os: windows-latest COMMAND: AM2RLauncher.Wpf -r win-x86 ARTIFACT: AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2f4792..51740a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,9 +24,9 @@ jobs: - os: ubuntu-latest COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained ARTIFACT: AM2RLauncher/AM2RLauncher.Gtk/bin/Release/net6.0/ubuntu.18.04-x64/publish/ - - os: macOS-latest - COMMAND: AM2RLauncher.Mac - ARTIFACT: AM2RLauncher/AM2RLauncher.Mac/bin/Release/net6.0/osx-x64osx-arm64/AM2RLauncher.Mac.app/ + - os: macOS-latest + COMMAND: AM2RLauncher.Mac -o builds/macOS-latest + ARTIFACT: AM2RLauncher/builds/macOS-latest - os: windows-latest COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds\win86 ARTIFACT: AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\