GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: fixed Rust cache for 'cargo install' in publish.yml (#13907) · Krule/opencode@4226097

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+13-4Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.