fix(ci): steps order (#174)

This commit is contained in:
Xenxo Espasandín 2024-01-05 20:44:59 +01:00 committed by GitHub
parent d975cc7d03
commit 7f31582cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,13 @@ jobs:
needs: [ build-windows, build-macos, build-linux ] needs: [ build-windows, build-macos, build-linux ]
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
steps: steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
sparse-checkout: |
Dockerfile
sparse-checkout-cone-mode: false
- name: Download Binaries - name: Download Binaries
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@ -190,13 +197,6 @@ jobs:
*.zip *.zip
*.tar.gz *.tar.gz
- name: Checkout Dockerfile
uses: actions/checkout@v4
with:
sparse-checkout: |
Dockerfile
sparse-checkout-cone-mode: false
- name: Build and Publish Docker Image - name: Build and Publish Docker Image
uses: VaultVulp/gp-docker-action@1.6.0 uses: VaultVulp/gp-docker-action@1.6.0
with: with: