Compare commits

...

3 Commits

Author SHA1 Message Date
hobokenchicken 52298d1d46 fix(ci): manually configure caching using actions/cache@v3 for gitea compatibility
Release Desktop Apps / build-linux (push) Successful in 10m35s
Release Desktop Apps / build-windows (push) Successful in 3h16m21s
Release Desktop Apps / release (push) Successful in 11s
2026-07-16 13:03:56 -04:00
hobokenchicken 7fc5d66b8c fix(ci): recursively glob artifact files to prevent empty releases
Release Desktop Apps / build-linux (push) Failing after 11m16s
Release Desktop Apps / release (push) Has been cancelled
Release Desktop Apps / build-windows (push) Has been cancelled
2026-07-16 12:47:45 -04:00
hobokenchicken 7a6b4f961a fix(ci): correct rustup download URL for windows
Release Desktop Apps / build-linux (push) Successful in 2m45s
Release Desktop Apps / build-windows (push) Successful in 3h21m29s
Release Desktop Apps / release (push) Successful in 10s
2026-07-16 12:22:18 -04:00
+30 -13
View File
@@ -10,14 +10,21 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- name: Cache npm
uses: actions/cache@v3
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'web/package-lock.json'
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('web/package-lock.json') }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Cache Rust target and registry
uses: actions/cache@v3
with:
workspaces: 'web/src-tauri'
path: |
~/.cargo/registry
~/.cargo/git
web/src-tauri/target
key: ${{ runner.os }}-cargo-${{ hashFiles('web/src-tauri/Cargo.lock') }}
- name: Install system deps
run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf rpm
- name: Build frontend
@@ -40,20 +47,27 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- name: Cache npm
uses: actions/cache@v3
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'web/package-lock.json'
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('web/package-lock.json') }}
- name: Install Rust
run: |
curl.exe -sLO https://win.rustup.rs/x86_64/rustup-init.exe
curl.exe -sLo rustup-init.exe https://win.rustup.rs/x86_64
rustup-init.exe -y --default-toolchain stable --profile minimal
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
rustc --version
shell: cmd
- uses: Swatinem/rust-cache@v2
- name: Cache Rust target and registry
uses: actions/cache@v3
with:
workspaces: 'web/src-tauri'
path: |
~/.cargo/registry
~/.cargo/git
web/src-tauri/target
key: ${{ runner.os }}-cargo-${{ hashFiles('web/src-tauri/Cargo.lock') }}
- name: Build frontend
run: cd web && npm ci && npm run build
shell: cmd
@@ -82,5 +96,8 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
files: |
linux-bundles/*
windows-bundles/*
linux-bundles/**/*.AppImage
linux-bundles/**/*.deb
linux-bundles/**/*.rpm
windows-bundles/**/*.msi
windows-bundles/**/*.exe