Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Upgrade `actions/setup-java@v4` to v5.2.0 (#74678)

Nemanja Glumacdcaaf02905da
diff --git a/.github/actions/prepare-backend/action.yml b/.github/actions/prepare-backend/action.yml
index 91d160258b1..3f5955296f3 100644
--- a/.github/actions/prepare-backend/action.yml
+++ b/.github/actions/prepare-backend/action.yml
@@ -13,7 +13,7 @@ runs:
using: "composite"
steps:
- name: Prepare JDK ${{ inputs.java-version }}
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
java-version: ${{ inputs.java-version }}
distribution: "temurin"
diff --git a/.github/workflows/build-for-release.yml b/.github/workflows/build-for-release.yml
index 17d09122c91..e69aa51307b 100644
--- a/.github/workflows/build-for-release.yml
+++ b/.github/workflows/build-for-release.yml
@@ -218,7 +218,7 @@ jobs:
echo "VERSION=$version" >> $GITHUB_ENV
- name: Setup Java ${{ needs.get-build-requirements.outputs.java_version }}
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ needs.get-build-requirements.outputs.java_version }}
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml
index a0db3edb6f3..f3bb1f6e3c9 100644
--- a/.github/workflows/pre-release.yml
+++ b/.github/workflows/pre-release.yml
@@ -125,7 +125,7 @@ jobs:
java-version: [21]
steps:
- name: Prepare JRE (Java Run-time Environment)
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
java-package: jre
java-version: ${{ matrix.java-version }}
diff --git a/.github/workflows/snowplow.yml b/.github/workflows/snowplow.yml
index 923e3159733..dad4610cb6d 100644
--- a/.github/workflows/snowplow.yml
+++ b/.github/workflows/snowplow.yml
@@ -29,7 +29,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Java
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: temurin
java-version: 21
diff --git a/.github/workflows/tag-for-release.yml b/.github/workflows/tag-for-release.yml
index 2162996cf53..ab825f839f6 100644
--- a/.github/workflows/tag-for-release.yml
+++ b/.github/workflows/tag-for-release.yml
@@ -198,7 +198,7 @@ jobs:
echo "VERSION=$version" >> $GITHUB_ENV
- name: Setup Java
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 21
diff --git a/.github/workflows/uberjar.yml b/.github/workflows/uberjar.yml
index 52ee4b03c35..2dc9d64f07f 100644
--- a/.github/workflows/uberjar.yml
+++ b/.github/workflows/uberjar.yml
@@ -168,7 +168,7 @@ jobs:
- name: Check out the code
uses: actions/checkout@v6
- name: Prepare JRE (Java Run-time Environment)
- uses: actions/setup-java@v4
+ uses: actions/[email protected]
with:
java-package: jre
java-version: ${{ matrix.java-version }}