From 402ed00e33cfac7560b9886c79b4e87ad0021e2c Mon Sep 17 00:00:00 2001 From: ironbeer <7997273+ironbeer@users.noreply.github.com> Date: Mon, 23 Dec 2024 12:30:27 +0900 Subject: [PATCH] Fix `no such file or directory` error in Github actions --- .github/workflows/release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7723857b7..a649634f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,8 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Cache Docker Layers - uses: actions/cache@v4 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx - restore-keys: ${{ runner.os }}-buildx- + - name: Create binaries directory + run: mkdir ./binaries - name: Build and Push uses: docker/bake-action@v4 @@ -48,8 +44,8 @@ jobs: push: true set: | *.platform=linux/amd64,linux/arm64 - *.cache-from=type=local,src=/tmp/.buildx-cache - *.cache-to=type=local,dest=/tmp/.buildx-cache,mode=max + *.cache-from=type=gha + *.cache-to=type=gha,mode=max binaries.output=type=local,dest=./binaries - name: Check version label