diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index bfe99467..bc608370 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -61,20 +61,17 @@ jobs: - name: Move & rename .NET artifact (Unix) if: matrix.platform != 'windows-latest' run: | + mkdir -p "app/MindWork AI Studio/bin/dist" 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: | + New-Item -ItemType Directory -Path "app\MindWork AI Studio\bin\dist" -Force 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 - find . -name "mindworkAIStudio*" -exec mv '{}' ."app/MindWork AI Studio/bin/dist/mindworkAIStudio${{ matrix.dotnet_name_postfix }}" \; - - name: Setup Rust stable (ARM macOS) if: matrix.platform == 'macos-latest' && matrix.cargo_args == '--target aarch64-apple-darwin' uses: dtolnay/rust-toolchain@stable