mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
- Build jobs (ubuntu-install-pkg): use actions/cache/restore@v5 with fail-on-cache-miss=false → optional warm cache, no failure on miss, no write-back (no locking conflicts) - New action ubuntu-save-apt-cache: actions/cache/save@v5 with global key → only this action writes the cache - New workflow ubuntu-apt-cache.yml: daily 02:00 UTC + master push → proactively populates global apt cache - Removed ubuntu-fetch-pkg job and all needs: ubuntu-fetch-pkg dependencies → build jobs run independently, no chain delay causing cache TTL expiry Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
21 lines
501 B
YAML
21 lines
501 B
YAML
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
# Copyright (C) 2026 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
name: ubuntu apt cache population
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * *' # daily at 02:00 UTC
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
populate-apt-cache:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: ./.github/actions/ubuntu-save-apt-cache
|