From 26cf7e69879e761e72a487ba549b0cdcd5631cd4 Mon Sep 17 00:00:00 2001 From: "Juan M. Tirado" Date: Fri, 28 Jun 2024 11:17:00 +0200 Subject: [PATCH] fix: target variable --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4239fe9..22d1aac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -95,14 +95,16 @@ jobs: # Forcing execution delete after checking it works!! - name: Clean Docker cache + env: + TARGET: ${{ runner.os }}-buildx-v1.0-service-node-${{ github.ref_name }} run: | - target=${{ runner.os }}-buildx-v1.0-service-node-${{ github.ref_name }} curl -L \ -X DELETE \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/pantos-io/service-node/actions/caches?key=$TARGET + "https://api.github.com/repos/pantos-io/service-node/actions/caches?key=${{ env.TARGET }}" + build: uses: ./.github/workflows/build.yml