diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 738d8fcc..fba03938 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,19 +36,23 @@ jobs: # need to switch to root so that github actions can install runner binary on container without permission issues. options: --user root - env: # actions/checkout uses node 16 + # actions/checkout@v4 and actions/setup-java@v4 use node 20: + # https://github.com/actions/checkout/releases/tag/v4.0.0 + # container image does not have GLIBC_2.28 required for this node version + # as such use @v3 actions instead for this workflow and set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION + env: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set up JDK ${{ matrix.java }} for build and test - uses: actions/setup-java@v4 + uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.java }} # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Build with Gradle id: step-build-test-linux run: | @@ -81,7 +85,7 @@ jobs: steps: - name: Checkout Branch - uses: actions/checkout@v4 + uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: name: async-plugin-linux-${{ matrix.java }} @@ -149,19 +153,16 @@ jobs: # This job runs on Windows. runs-on: windows-latest - env: # actions/checkout uses node 16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set Up JDK ${{ matrix.java }} - uses: actions/setup-java@v4 + uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.java }} # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Build with Gradle run: ./gradlew.bat build -x integTest -x jacocoTestReport env: @@ -184,19 +185,16 @@ jobs: # This job runs on Mac OS. runs-on: macos-latest - env: # actions/checkout uses node 16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set Up JDK ${{ matrix.java }} - uses: actions/setup-java@v4 + uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.java }} # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Build with Gradle run: ./gradlew build -x integTest -x jacocoTestReport env: diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index f3796ba9..201cdae1 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -19,9 +19,6 @@ jobs: id-token: write contents: write - env: # actions/checkout uses node 16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: - name: Set Up JDK ${{ matrix.java }} uses: actions/setup-java@v4 diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index ee0a3b39..cbfdf430 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -31,20 +31,24 @@ jobs: # need to switch to root so that github actions can install runner binary on container without permission issues. options: --user root - env: # actions/checkout uses node 16 + # actions/checkout@v4 and actions/setup-java@v4 use node 20: + # https://github.com/actions/checkout/releases/tag/v4.0.0 + # container image does not have GLIBC_2.28 required for this node version + # as such use @v3 actions instead for this workflow and set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION + env: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set Up JDK ${{ matrix.java }} - uses: actions/setup-java@v4 + uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium java-version: ${{ matrix.java }} # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Run integration tests with multi node config run: | chown -R 1000:1000 `pwd` diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 3ca023ab..5c4cd7ef 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -19,9 +19,6 @@ jobs: # This job runs on Linux runs-on: ubuntu-latest - env: # actions/checkout uses node 16 - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: # This step uses the checkout Github action: https://github.com/actions/checkout - name: Checkout Branch