From ccc031f62ba2f74927176c65d14db18d9a3a5029 Mon Sep 17 00:00:00 2001 From: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:53:14 +0800 Subject: [PATCH] ci: :construction_worker: Try fixing GitHub Actions artifacts uploading. --- .github/workflows/tauri.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index 3912c14..cb53b4b 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -27,17 +27,13 @@ jobs: uses: pnpm/action-setup@v2 with: version: latest - - name: Install Rust stable - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: stable + run_install: true + - name: Install the Rust toolchain + uses: dtolnay/rust-toolchain@stable - name: Install dependencies on Ubuntu if: matrix.platform == 'ubuntu-20.04' run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - - name: Install frontend dependencies - run: pnpm install # change this to npm or pnpm depending on which one you use + sudo apt-get update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf - id: tauri uses: tauri-apps/tauri-action@v0 env: @@ -51,4 +47,4 @@ jobs: - name: Upload a Build Artifact uses: actions/upload-artifact@v3 with: - path: ${{ steps.tauri.outputs.artifactPaths }} + path: ${{ join(fromJson(steps.tauri.outputs.artifactPaths), fromJson('\n')) }}