From 805e31d4ed5a63b42fe3310fb526bc02b3414edb Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 28 Jan 2025 14:39:51 +0100 Subject: [PATCH] docs(ci): add notes about libpq caching --- .github/workflows/packages-bin.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/packages-bin.yml b/.github/workflows/packages-bin.yml index fb43ac877..f84e62774 100644 --- a/.github/workflows/packages-bin.yml +++ b/.github/workflows/packages-bin.yml @@ -1,5 +1,20 @@ name: Build binary packages +# Note: Libpq is currently built from source on most platform and the build +# cached across pipeline runs. +# +# You can see the caches at https://github.com/psycopg/psycopg/actions/caches +# +# You can delete a cache using: +# +# curl -L -X DELETE +# -H "Accept: application/vnd.github+json" +# -H "Authorization: Bearer $GITHUB_TOKEN" +# -H "X-GitHub-Api-Version: 2022-11-28" +# "https://api.github.com/repos/psycopg/psycopg/actions/caches?key=libpq-manylinux-ppc64le-17.2-3.4.0" +# +# ref: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-github-actions-caches-for-a-repository-using-a-cache-key + on: workflow_dispatch: schedule: -- 2.47.2