From f8fe3513fbf9c5950f44bb390687ea408c80f7a1 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 5 Jun 2024 20:57:11 +0200 Subject: [PATCH] Fixed move & rename op --- .github/workflows/build-and-release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 4544a44a..bfe99467 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -58,6 +58,18 @@ jobs: cd "app/MindWork AI Studio" dotnet publish --configuration release --runtime ${{ matrix.dotnet_runtime }} --disable-build-servers --force --output ../../publish/dotnet + - name: Move & rename .NET artifact (Unix) + if: matrix.platform != 'windows-latest' + run: | + cd publish/dotnet + mv mindworkAIStudio "../../app/MindWork AI Studio/bin/dist/mindworkAIStudio${{ matrix.dotnet_name_postfix }}" + + - name: Move & rename .NET artifact (Windows) + if: matrix.platform == 'windows-latest' + run: | + cd publish/dotnet + mv mindworkAIStudio.exe "../../app/MindWork AI Studio/bin/dist/mindworkAIStudio${{ matrix.dotnet_name_postfix }}" + - name: Move & rename .NET artifact run: | cd publish/dotnet