From dc21097da1fa4491d6b14e0998618fc04763190f Mon Sep 17 00:00:00 2001 From: Dima May Date: Fri, 20 Sep 2024 15:52:31 +0000 Subject: [PATCH] upgrade github actions --- .../workflows/build-and-test-expired-token.yml | 14 +++++++------- .github/workflows/build-and-test-oauth.yml | 15 ++++++++------- .github/workflows/build-and-test.yml | 15 ++++++++------- .github/workflows/client-libs-backward-compat.yml | 15 ++++++++------- .../workflows/skills-service-backward-compat.yml | 14 +++++++------- 5 files changed, 38 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build-and-test-expired-token.yml b/.github/workflows/build-and-test-expired-token.yml index f4b31bc7..d0238690 100644 --- a/.github/workflows/build-and-test-expired-token.yml +++ b/.github/workflows/build-and-test-expired-token.yml @@ -34,13 +34,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20.11.0' - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '19' # The JDK version to make available on the path. @@ -53,7 +53,7 @@ jobs: node --version - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -61,7 +61,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -120,7 +120,7 @@ jobs: - name: upload result artifacts if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: result artifacts path: | diff --git a/.github/workflows/build-and-test-oauth.yml b/.github/workflows/build-and-test-oauth.yml index cd1244ff..2b9f73f7 100644 --- a/.github/workflows/build-and-test-oauth.yml +++ b/.github/workflows/build-and-test-oauth.yml @@ -46,14 +46,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20.11.0' - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: '19' # The JDK version to make available on the path. - name: Print Versions @@ -64,7 +65,7 @@ jobs: node --version - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -72,7 +73,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache npm - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -153,7 +154,7 @@ jobs: - name: upload result artifacts if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: result artifacts path: | diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c416424b..6957fbda 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -43,14 +43,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20.11.0' - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: '19' # The JDK version to make available on the path. - name: Print Versions @@ -61,7 +62,7 @@ jobs: node --version - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -69,7 +70,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache npm - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -112,7 +113,7 @@ jobs: - name: upload result artifacts if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: result artifacts path: | diff --git a/.github/workflows/client-libs-backward-compat.yml b/.github/workflows/client-libs-backward-compat.yml index 179d8d34..81a96056 100644 --- a/.github/workflows/client-libs-backward-compat.yml +++ b/.github/workflows/client-libs-backward-compat.yml @@ -42,14 +42,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20.11.0' - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: '19' # The JDK version to make available on the path. - name: Print Versions @@ -60,7 +61,7 @@ jobs: node --version - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -68,7 +69,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache npm - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -103,7 +104,7 @@ jobs: - name: upload result artifacts if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: result artifacts path: | diff --git a/.github/workflows/skills-service-backward-compat.yml b/.github/workflows/skills-service-backward-compat.yml index b4e2b7ae..536e9159 100644 --- a/.github/workflows/skills-service-backward-compat.yml +++ b/.github/workflows/skills-service-backward-compat.yml @@ -42,13 +42,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v2-beta + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20.11.0' - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: | @@ -63,7 +63,7 @@ jobs: node --version - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -71,7 +71,7 @@ jobs: ${{ runner.os }}-maven- - name: Cache npm - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -98,7 +98,7 @@ jobs: - name: upload result artifacts if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: result artifacts path: |