From 9b52e89c652290ca03093e79f22986f1d035ce37 Mon Sep 17 00:00:00 2001 From: Luca Roffia Date: Fri, 6 Dec 2024 16:22:25 +0100 Subject: [PATCH] Update main.yml Deprecation notice: v1 and v2 of the artifact actions --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20619b9d..34a6ddf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 23 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -38,9 +38,9 @@ jobs: - 9999:9999 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 23 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -76,7 +76,7 @@ jobs: - name: verify run: mvn verify -e -Dlog4j2.level=trace - name: publish Engine log - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: engine-log @@ -92,8 +92,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '23' distribution: 'adopt' @@ -110,16 +110,16 @@ jobs: - build - test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v4 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v4 with: username: ${{secrets.DOCKERHUB_USERNAME}} password: ${{secrets.DOCKERHUB_TOKEN}} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: push: true tags: vaimee/sepa:${{github.ref_name}},vaimee/sepa:latest