feat(ci): use xgo cache between binary builds

This commit is contained in:
kolaente 2025-05-13 17:48:10 +02:00
parent e70a3c33ba
commit bfb9a66226
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 9 additions and 0 deletions

View File

@ -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 }}