diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d7325330..76553605 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,8 +28,12 @@ jobs: uses: actions/setup-node@v4 with: node-version: "lts/*" - cache: "pnpm" - cache-dependency-path: pnpm-lock.yaml + + - name: Install PNPM + uses: pnpm/action-setup@v2 + with: + version: 8.x.x + run_install: false - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -37,17 +41,11 @@ jobs: targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: Install dependencies (ubuntu only) - if: matrix.settings.platform == 'ubuntu-22.04' + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update sudo apt-get install -y build-essential libssl-dev javascriptcoregtk-4.1 libayatana-appindicator3-dev libsoup-3.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev webkit2gtk-4.1 librsvg2-dev patchelf - - name: Install PNPM - uses: pnpm/action-setup@v2 - with: - version: 8.x.x - run_install: false - - name: Install frontend dependencies run: pnpm install @@ -69,5 +67,5 @@ jobs: releaseBody: "See the assets to download this version and install." releaseDraft: true prerelease: false - args: ${{ matrix.settings.args }} + args: ${{ matrix.args }} includeDebug: false