The open source coding agent.
TypeScript
ci: fixed Rust cache for 'cargo install' in publish.yml (#13907)
Goni Zahavy422609722803
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex f63802ac5aa..0fd95b9cfca 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@v3if: 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 artifactsuses: tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a