From fedd215e4e68d5af196a328861c7f9ba1fd1872d Mon Sep 17 00:00:00 2001 From: Nicolas PERANSIN Date: Thu, 13 Jun 2024 11:09:45 +0200 Subject: [PATCH] Update githut actions versions. --- .github/workflows/maven.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f7d18d0..3642d2f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -11,15 +11,16 @@ jobs: steps: - name: Checkout 📂 - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up JDK 11 ⚙️ - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 11 + distribution: 'zulu' + java-version: '11' - name: Cache Maven packages ⛓️ - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -30,7 +31,7 @@ jobs: - name: Deploy 🚀 if: github.ref == 'refs/heads/master' - uses: JamesIves/github-pages-deploy-action@4.1.4 + uses: JamesIves/github-pages-deploy-action@4.6.1 with: branch: gh-pages folder: releng/com.obeonetwork.mbse.capella.vpx.site/target/repository @@ -40,11 +41,11 @@ jobs: - name: Get the tag version 🏷️ id: get_version - run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//} + run: echo "TAG_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: Deploy Release 🚀🏷️ if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: JamesIves/github-pages-deploy-action@4.1.4 + uses: JamesIves/github-pages-deploy-action@4.6.1 with: branch: gh-pages folder: releng/com.obeonetwork.mbse.capella.vpx.site/target/repository