From 80b524e04a469788723342fd7a222bd3362aa4de Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 27 Aug 2024 17:59:30 +0200 Subject: [PATCH] Move checkout as first step, bump to checkout v4 --- .github/workflows/dockerhub-deployment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub-deployment.yml b/.github/workflows/dockerhub-deployment.yml index e6c19a0..fd60ded 100644 --- a/.github/workflows/dockerhub-deployment.yml +++ b/.github/workflows/dockerhub-deployment.yml @@ -8,6 +8,10 @@ jobs: test-build-push: runs-on: ubuntu-latest steps: + - name: Checkout current branch (full) + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Java uses: actions/setup-java@v4 with: @@ -25,7 +29,6 @@ jobs: echo $'{ "experimental": true }' | sudo tee /etc/docker/daemon.json sudo service docker restart docker version -f '{{.Server.Experimental}}' - - uses: actions/checkout@v2 - name: Setup NPM environment specfic to SMUI uses: actions/setup-node@v4 with: