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(release): Linux desktop builds reuse cached AppImage, FPM, and 7-Z… · adampeterhiggins/t3code@ca920d5

File tree

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

‎.github/workflows/release-desktop.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release-desktop.yml
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,20 @@ jobs:
210210
native/hyprland-snap-shot/target/${{ inputs.rust_target }}/release/t3-hyprland-snap-shot
211211
key: linux-capture-helpers-${{ inputs.rust_target }}-${{ hashFiles('native/kde-snap-shot/Cargo.lock', 'native/kde-snap-shot/Cargo.toml', 'native/kde-snap-shot/src/**', 'native/hyprland-snap-shot/Cargo.lock', 'native/hyprland-snap-shot/Cargo.toml', 'native/hyprland-snap-shot/src/**', 'native/hyprland-snap-shot/protocols/**') }}
212212

213+
# Every Linux build makes electron-builder fetch the AppImage runtime, FPM
214+
# for the deb, and the 7-Zip that unpacks FPM from GitHub releases. It
215+
# checks an archive found here against the SHA-256 pinned in those toolset
216+
# files and downloads again on a mismatch, so only raw archives are cached.
217+
- name: Cache Linux packaging tool archives
218+
if: inputs.platform == 'linux'
219+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
220+
with:
221+
path: |
222+
~/.cache/electron-builder/appimage@*/appimage-tools-runtime-*.tar.gz
223+
~/.cache/electron-builder/fpm@*/fpm-*.7z
224+
~/.cache/electron-builder/7zip@*/7zip-linux-*.tar.gz
225+
key: electron-builder-linux-tools-${{ inputs.arch }}-${{ hashFiles('node_modules/.pnpm/app-builder-lib@*/node_modules/app-builder-lib/out/toolsets/linux.js', 'node_modules/.pnpm/app-builder-lib@*/node_modules/app-builder-lib/out/toolsets/7zip.js') }}
226+
213227
- name: Ensure Rosetta for macOS x64 bytecode generation
214228
if: inputs.platform == 'mac' && inputs.arch == 'x64'
215229
shell: bash

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.