From 8e91f2b71e0f7b3ba58151347764854430d1eeb3 Mon Sep 17 00:00:00 2001 From: Luca Consalvi Date: Fri, 16 Aug 2024 15:04:21 +0200 Subject: [PATCH] add 2 steps --- .github/workflows/build-n-push-main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build-n-push-main.yml b/.github/workflows/build-n-push-main.yml index 25b505b..49e0f4c 100644 --- a/.github/workflows/build-n-push-main.yml +++ b/.github/workflows/build-n-push-main.yml @@ -21,6 +21,27 @@ jobs: contents: write steps: + # + # Checkout the source code. + # + - name: Checkout the source code + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + with: + token: ${{ secrets.GIT_PAT }} + fetch-depth: 0 + + # + # Cache JDK. + # + - name: Cache JDK + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + id: cache-jdk + with: + key: OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz + path: | + ${{ runner.temp }}/jdk_setup.tar.gz + ${{ runner.temp }}/jdk_setup.sha256 + # # RELEASE CANDIDATE - Build Docker image. #