From e2bf9099b17aaf0e0417ecbc0122694ebab73f2a Mon Sep 17 00:00:00 2001 From: Topin2001 Date: Thu, 2 May 2024 15:12:52 +0200 Subject: [PATCH] update CI actions version --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3d525f..d394953 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,13 +33,13 @@ jobs: name: Build the docker image runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build docker image run: docker build -t $DOCKER_IMAGE_NAME $DOCKERFILE_PATH - name: Save Docker image run: docker image save -o image.tar $DOCKER_IMAGE_NAME - name: Upload image as an artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: image path: image.tar @@ -49,15 +49,15 @@ jobs: runs-on: ubuntu-22.04 needs: build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve the image - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: image - name: Load the image run: docker image load -i image.tar - name: Cache sonar-scanner data - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .sonarcache key: sonar-scanner-cache