From bfb9a6622697732a930d138cd9eb76f1f2cb3e6f Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 13 May 2025 17:48:10 +0200 Subject: [PATCH] feat(ci): use xgo cache between binary builds --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d32dee700..67675362e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,6 +101,15 @@ jobs: with: gpg-passphrase: "${{ secrets.RELEASE_GPG_PASSPHRASE }}" gpg-sign-key: "${{ secrets.RELEASE_GPG_SIGN_KEY }}" + - run: echo $HOME + - run: id + - name: setup xgo cache + uses: useblacksmith/cache@v5 + with: + path: /root/.xgo-cache + key: ${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - name: build and release env: RELEASE_VERSION: ${{ steps.ghd.outputs.describe }}