From 60d2d1ad255a89cd2e037d8063f5e5fe61fdba48 Mon Sep 17 00:00:00 2001 From: HDegroote <75906619+HDegroote@users.noreply.github.com> Date: Thu, 11 Jan 2024 21:57:04 +0100 Subject: [PATCH] Fix checkout version in docker-build CI flow --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2965bae..029fa31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - run: npm test - run: npm run example - docker: # Should run after the npm package was published + docker: if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: @@ -32,9 +32,9 @@ jobs: shell: bash run: echo "tag=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT id: extract_tag - - # Needed for buildX, which accessed cwd + - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 https://github.com/actions/checkout/releases/tag/v4.1.1 - name: Set up QEMU uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 https://github.com/docker/setup-qemu-action/releases/tag/v3.0.0