From 0a5f14508c1f39aa0e80b5ed50d9816befd2c9c3 Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Sun, 12 Apr 2026 18:10:24 +1000 Subject: [PATCH] chore: upload build artifacts to workflow run (#571) * Add artifact collection and upload steps to workflow * Change artifact upload method in test workflow Replaced the upload-artifact action with a custom bash script to handle artifact uploads. * Refactor artifact upload process in CI workflow Removed artifact collection step and added separate upload steps for macOS, Linux, and Windows artifacts. --- .github/workflows/test.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37afe65..cafcac4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,8 +44,35 @@ jobs: uses: tauri-apps/tauri-action@73fb865345c54760d875b94642314f8c0c894afa # v0.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - # TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} NODE_OPTIONS: "--max_old_space_size=4096" with: args: ${{ matrix.args }} --config '{"bundle":{"createUpdaterArtifacts":false}}' + - name: Upload macOS artifacts + if: matrix.platform == 'macos-latest' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: release-artifacts-macos + path: | + src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny*.app + if-no-files-found: warn + + - name: Upload Linux artifacts + if: matrix.platform == 'ubuntu-22.04' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: release-artifacts-linux + path: | + src-tauri/target/release/bundle/deb/Cinny_*.deb + src-tauri/target/release/bundle/rpm/Cinny-*.rpm + src-tauri/target/release/bundle/appimage/Cinny_*.AppImage + if-no-files-found: warn + + - name: Upload Windows artifacts + if: matrix.platform == 'windows-latest' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: release-artifacts-windows + path: | + src-tauri/target/release/bundle/msi/Cinny_*_x64_*.msi + src-tauri/target/release/bundle/nsis/Cinny_*_x64-setup.exe + if-no-files-found: warn