From 22c0c5a251ffd83245343573e47773c1c69fe3cc Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Feb 2026 15:06:47 +0000 Subject: [PATCH] ci: use Forgejo Conan registry instead of actions/cache Pull pre-built dependencies from the Forgejo package registry (conan_build remote) instead of caching the SDK locally. Removes the 570MB actions/cache overhead since all packages are already available as pre-compiled binaries on the registry. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 1d60106e..fe737c29 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -38,20 +38,11 @@ jobs: apt-get install -y build-essential git python3 python3-pip autotools-dev pkg-config rpm pip install cmake --break-system-packages - - name: Restore SDK cache - id: cache - uses: actions/cache@v4 - with: - path: | - ${{ github.workspace }}/build/sdk - ${{ github.workspace }}/build/bin - key: ${{ runner.os }}-${{ runner.arch }}-sdk - - name: Build dependencies - run: make build-deps CPU_CORES=${{ env.CPU_CORES }} + run: make build-deps CPU_CORES=${{ env.CPU_CORES }} CONAN_URL=${{ env.FORGEJO_URL }}/api/packages/host-uk/conan CONAN_USER=claude CONAN_PASSWORD=${{ secrets.RELEASE_TOKEN }} - name: Compile - run: make ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} CPU_CORES=${{ env.CPU_CORES }} + run: make ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} CPU_CORES=${{ env.CPU_CORES }} CONAN_URL=${{ env.FORGEJO_URL }}/api/packages/host-uk/conan CONAN_USER=claude CONAN_PASSWORD=${{ secrets.RELEASE_TOKEN }} - name: Compute release tag id: release