diff options
| author | Goni Zahavy <[email protected]> | 2026-02-17 06:13:33 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-17 12:13:33 +0800 |
| commit | 422609722803c9babf5c9d28527725f488e5dda4 (patch) | |
| tree | 52958f7dd4ca7126c057278cc3e3720b3f0f9b7e /.github | |
| parent | e35a4131d00729b9ef75ca86b03e70b656f00e2f (diff) | |
| download | opencode-422609722803c9babf5c9d28527725f488e5dda4.tar.gz opencode-422609722803c9babf5c9d28527725f488e5dda4.zip | |
ci: fixed Rust cache for 'cargo install' in publish.yml (#13907)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/publish.yml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f63802ac5..0fd95b9cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -171,13 +171,22 @@ jobs: GH_TOKEN: ${{ github.token }} GITHUB_RUN_ID: ${{ github.run_id }} + - name: Resolve tauri portable SHA + if: contains(matrix.settings.host, 'ubuntu') + run: echo "TAURI_PORTABLE_SHA=$(git ls-remote https://github.com/tauri-apps/tauri.git refs/heads/feat/truly-portable-appimage | cut -f1)" >> "$GITHUB_ENV" + # Fixes AppImage build issues, can be removed when https://github.com/tauri-apps/tauri/pull/12491 is released - name: Install tauri-cli from portable appimage branch + uses: taiki-e/cache-cargo-install-action@v3 if: contains(matrix.settings.host, 'ubuntu') - run: | - cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch feat/truly-portable-appimage --force - echo "Installed tauri-cli version:" - cargo tauri --version + with: + tool: tauri-cli + git: https://github.com/tauri-apps/tauri + # branch: feat/truly-portable-appimage + rev: ${{ env.TAURI_PORTABLE_SHA }} + + - name: Show tauri-cli version + run: cargo tauri --version - name: Build and upload artifacts uses: tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a |
