From 077a516c478289193e726b870ed1d896d45d0b86 Mon Sep 17 00:00:00 2001 From: jandrlik Date: Tue, 27 Feb 2024 22:54:09 +0100 Subject: [PATCH] updating GH actions version --- .github/workflows/test.yaml | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d2a4db4..66986a5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,15 +31,15 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jdk" XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jdk" ./testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -47,7 +47,7 @@ jobs: tar -cf "results-linux-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-linux-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true @@ -71,15 +71,15 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" ./testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -87,7 +87,7 @@ jobs: tar -cf "results-linux-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-linux-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true @@ -111,22 +111,22 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 with: update: true install: wget tar git unzip - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run shell: msys2 {0} run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" ./testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -135,7 +135,7 @@ jobs: tar -cf "results-windows-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-windows-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true @@ -159,22 +159,22 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 with: update: true install: wget tar git unzip - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run shell: msys2 {0} run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" ./testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -183,7 +183,7 @@ jobs: tar -cf "results-windows-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-windows-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true @@ -207,7 +207,7 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Homebrew run: | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -224,13 +224,13 @@ jobs: run: /usr/local/bin/bash --version - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" WORKSPACE=/Users/runner/workspace XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jre" WORKSPACE=/Users/runner/workspace /usr/local/bin/bash testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -239,7 +239,7 @@ jobs: tar -cf "results-macos-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-macos-jre${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true @@ -265,7 +265,7 @@ jobs: - jdkconf: JDK 17 jdkver: "17" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Homebrew run: | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -282,13 +282,13 @@ jobs: run: /usr/local/bin/bash --version - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdkver || env.jdkver_latest }} - name: Run run: | - export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jdk" WORKSPACE=/Users/runner/workspace XDISPLAY=":0" + export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} BOOTJDK_DIR=~/bootjdk JREJDK="jdk" WORKSPACE=/Users/runner/workspace /usr/local/bin/bash testHeadlessComponents.sh - name: Pack results if: ${{ always() }} @@ -297,7 +297,7 @@ jobs: tar -cf "results-macos-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" $WORKSPACE/testHeadlessComponent.log $WORKSPACE/testHeadlessComponent.jtr.xml - name: Upload results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "results-macos-jdk${{ matrix.jdkver || env.jdkver_latest }}.tar.gz" continue-on-error: true