diff --git a/.github/workflows/deploy-classifiers.yml b/.github/workflows/deploy-classifiers.yml index 3894427f..e38345f2 100644 --- a/.github/workflows/deploy-classifiers.yml +++ b/.github/workflows/deploy-classifiers.yml @@ -22,7 +22,7 @@ jobs: branch: [ "development", "vaadin-23" ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ matrix.branch }} fetch-depth: 0 @@ -37,7 +37,7 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.script-from-branch }} run: git checkout $GITHUB_WORKFLOW_SHA -- tools/build_flow_widgetsets.sh - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: # running setup-java again overwrites the settings.xml distribution: 'temurin' java-version: '17' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6335a74c..2bab50e3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,7 +53,7 @@ jobs: fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: refs/heads/${{ inputs.target-branch }} fetch-depth: 0 @@ -81,7 +81,7 @@ jobs: echo "⚠️ dry-run execution, artifacts will not be published on Maven Central." | tee -a $GITHUB_STEP_SUMMARY fi - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: 'temurin' @@ -107,7 +107,7 @@ jobs: - name: JReleaser release output if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jreleaser-release path: | diff --git a/.github/workflows/validation-latest-versions.yml b/.github/workflows/validation-latest-versions.yml index 79acd085..640c6018 100644 --- a/.github/workflows/validation-latest-versions.yml +++ b/.github/workflows/validation-latest-versions.yml @@ -13,7 +13,7 @@ jobs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compute matrix id: matrix run: | @@ -37,11 +37,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ matrix.branch }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' @@ -90,7 +90,7 @@ jobs: - name: Package test output files if: ${{ failure() || success() }} run: find . -name surefire-reports -o -name failsafe-reports -o -name verticle.log | tar -czf tests-report-${{ matrix.branch }}_vertx-${{ matrix.vertx }}_vaadin-${{ matrix.vaadin }}_flow-${{ matrix.flow }}.tgz -T - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() || success() }} with: name: tests-output-${{ matrix.branch }}_vertx-${{ matrix.vertx }}_vaadin-${{ matrix.vaadin }}_flow-${{ matrix.flow }} diff --git a/.github/workflows/validation-nightly.yml b/.github/workflows/validation-nightly.yml index 227e5c6b..ac0471c6 100644 --- a/.github/workflows/validation-nightly.yml +++ b/.github/workflows/validation-nightly.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ matrix.branch }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: 'temurin' @@ -64,7 +64,7 @@ jobs: - name: Package test output files if: ${{ failure() || success() }} run: find . -name surefire-reports -o -name failsafe-reports -o -name error-screenshots -o -name verticle.log | tar -czf tests-report-${{ matrix.branch }}-JVM-${{ matrix.java }}.tgz -T - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() || success() }} with: name: tests-output-${{ matrix.branch }}-JVM-${{ matrix.java }} diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index f123cff2..14dd43ec 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -37,10 +37,10 @@ jobs: deploy-required: ${{ steps.filter.outputs.deploy }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: dorny/paths-filter@v2 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -66,11 +66,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' @@ -92,7 +92,7 @@ jobs: run: | tar cf workspace.tar -C ~/ $(cd ~/ && echo .m2/repository/com/github/mcollovati/vertx/**/$VERTX_VAADIN_VERSION) tar rf workspace.tar $(find . -d -name target) - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: saved-workspace path: workspace.tar @@ -104,11 +104,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' @@ -118,7 +118,7 @@ jobs: if: ${{ !vars.QH_DISABLE_CHROME_INSTALL }} with: chrome-version: stable - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ github.run_attempt == 1 }} with: name: saved-workspace @@ -144,7 +144,7 @@ jobs: - name: Package test output files if: ${{ failure() || success() }} run: find . -name surefire-reports -o -name failsafe-reports | tar -czf tests-report-main.tgz -T - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() || success() }} with: name: tests-output @@ -157,11 +157,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' @@ -175,7 +175,7 @@ jobs: run: | CHROME_VERSION=$(google-chrome --version | sed 's/^Google Chrome //' | cut -d. -f1) echo "CHROME_VERSION=${CHROME_VERSION}" >> "$GITHUB_ENV" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ github.run_attempt == 1 }} with: name: saved-workspace @@ -205,7 +205,7 @@ jobs: - name: Package test output files if: ${{ failure() || success() }} run: find . -name surefire-reports -o -name failsafe-reports -o -name error-screenshots -o -name verticle.log | tar -czf tests-report-it-1.tgz -T - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() || success() }} with: name: tests-output @@ -218,11 +218,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' @@ -232,7 +232,7 @@ jobs: if: ${{ !vars.QH_DISABLE_CHROME_INSTALL }} with: chrome-version: stable - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ github.run_attempt == 1 }} with: name: saved-workspace @@ -257,7 +257,7 @@ jobs: - name: Package test output files if: ${{ failure() || success() }} run: find . -name surefire-reports -o -name failsafe-reports -o -name error-screenshots -o -name verticle.log | tar -czf tests-report-it-2.tgz -T - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() || success() }} with: name: tests-output @@ -271,10 +271,10 @@ jobs: needs: [changes, tests, it-tests-1, it-tests-2] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ always() && needs.changes.outputs.validation-required == 'true' }} with: name: tests-output @@ -307,7 +307,7 @@ jobs: with: fetch-depth: 0 - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ env.JAVA_VERSION }} @@ -316,7 +316,7 @@ jobs: server-password: REPSY_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ github.run_attempt == 1 }} with: name: saved-workspace