File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,13 +171,22 @@ jobs:
171171 GH_TOKEN : ${{ github.token }}
172172 GITHUB_RUN_ID : ${{ github.run_id }}
173173
174+ - name : Resolve tauri portable SHA
175+ if : contains(matrix.settings.host, 'ubuntu')
176+ 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"
177+
174178 # Fixes AppImage build issues, can be removed when https://github.com/tauri-apps/tauri/pull/12491 is released
175179 - name : Install tauri-cli from portable appimage branch
180+ uses : taiki-e/cache-cargo-install-action@v3
176181 if : contains(matrix.settings.host, 'ubuntu')
177- run : |
178- cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch feat/truly-portable-appimage --force
179- echo "Installed tauri-cli version:"
180- cargo tauri --version
182+ with :
183+ tool : tauri-cli
184+ git : https://github.com/tauri-apps/tauri
185+ # branch: feat/truly-portable-appimage
186+ rev : ${{ env.TAURI_PORTABLE_SHA }}
187+
188+ - name : Show tauri-cli version
189+ run : cargo tauri --version
181190
182191 - name : Build and upload artifacts
183192 uses : tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a
You can’t perform that action at this time.
0 commit comments