From 7f31582cc3f3bfa492430149106344e81c98d3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xenxo=20Espasand=C3=ADn?= Date: Fri, 5 Jan 2024 20:44:59 +0100 Subject: [PATCH] fix(ci): steps order (#174) --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 718da1fb..5cfef09b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -166,6 +166,13 @@ jobs: needs: [ build-windows, build-macos, build-linux ] if: startsWith(github.ref, 'refs/tags/') steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + sparse-checkout: | + Dockerfile + sparse-checkout-cone-mode: false + - name: Download Binaries uses: actions/download-artifact@v3 @@ -190,13 +197,6 @@ jobs: *.zip *.tar.gz - - name: Checkout Dockerfile - uses: actions/checkout@v4 - with: - sparse-checkout: | - Dockerfile - sparse-checkout-cone-mode: false - - name: Build and Publish Docker Image uses: VaultVulp/gp-docker-action@1.6.0 with: