Skip to content

Commit ae38c88

Browse files
committed
Merge branch '6.1.x'
2 parents ea2c441 + 1e6767a commit ae38c88

File tree

9 files changed

+42
-29
lines changed

9 files changed

+42
-29
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Await HTTP Resource
2+
description: Waits for an HTTP resource to be available (a HEAD request succeeds)
3+
inputs:
4+
url:
5+
description: 'The URL of the resource to await'
6+
required: true
7+
runs:
8+
using: composite
9+
steps:
10+
- name: Await HTTP resource
11+
shell: bash
12+
run: |
13+
url=${{ inputs.url }}
14+
echo "Waiting for $url"
15+
until curl --fail --head --silent ${{ inputs.url }} > /dev/null
16+
do
17+
echo "."
18+
sleep 60
19+
done
20+
echo "$url is available"

.github/actions/build/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ inputs:
55
required: false
66
default: '17'
77
description: 'The Java version to compile and test with'
8-
java-distribution:
8+
java-early-access:
99
required: false
10-
default: 'liberica'
11-
description: 'The Java distribution to use for the build'
10+
default: 'false'
11+
description: 'Whether the Java version is in early access'
1212
java-toolchain:
1313
required: false
1414
default: 'false'
@@ -35,7 +35,7 @@ runs:
3535
with:
3636
develocity-access-key: ${{ inputs.develocity-access-key }}
3737
java-version: ${{ inputs.java-version }}
38-
java-distribution: ${{ inputs.java-distribution }}
38+
java-early-access: ${{ inputs.java-early-access }}
3939
java-toolchain: ${{ inputs.java-toolchain }}
4040
- name: Build
4141
id: build

.github/actions/create-github-release/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Create GitHub Release
22
description: Create the release on GitHub with a changelog
33
inputs:
44
milestone:
5-
description: 'Name of the GitHub milestone for which a release will be created'
5+
description: Name of the GitHub milestone for which a release will be created
66
required: true
77
token:
8-
description: 'Token to use for authentication with GitHub'
8+
description: Token to use for authentication with GitHub
99
required: true
1010
pre-release:
11-
description: 'Whether the release is a pre-release (a milestone or release candidate)'
11+
description: Whether the release is a pre-release (a milestone or release candidate)
1212
required: false
1313
default: 'false'
1414
runs:

.github/actions/prepare-gradle-build/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ inputs:
55
required: false
66
default: '17'
77
description: 'The Java version to use for the build'
8-
java-distribution:
8+
java-early-access:
99
required: false
10-
default: 'liberica'
11-
description: 'The Java distribution to use for the build'
10+
default: 'false'
11+
description: 'Whether the Java version is in early access'
1212
java-toolchain:
1313
required: false
1414
default: 'false'
@@ -22,7 +22,7 @@ runs:
2222
- name: Set Up Java
2323
uses: actions/setup-java@v4
2424
with:
25-
distribution: ${{ inputs.java-distribution }}
25+
distribution: ${{ inputs.java-early-access == 'true' && 'temurin' || 'liberica' }}
2626
java-version: |
2727
${{ inputs.java-version }}
2828
${{ inputs.java-toolchain == 'true' && '17' || '' }}

.github/actions/sync-to-maven-central/action.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
using: composite
2121
steps:
2222
- name: Set Up JFrog CLI
23-
uses: jfrog/setup-jfrog-cli@8bab65dc312163b065ac5b03de6f6a5bdd1bec41 # v4.1.3
23+
uses: jfrog/setup-jfrog-cli@105617d23456a69a92485207c4f28ae12297581d # v4.2.1
2424
env:
2525
JF_ENV_SPRING: ${{ inputs.jfrog-cli-config-token }}
2626
- name: Download Release Artifacts
@@ -38,13 +38,6 @@ runs:
3838
release: true
3939
generate-checksums: true
4040
- name: Await
41-
shell: bash
42-
run: |
43-
url=${{ format('https://repo.maven.apache.org/maven2/org/springframework/spring-context/{0}/spring-context-{0}.jar', inputs.spring-framework-version) }}
44-
echo "Waiting for $url"
45-
until curl --fail --head --silent $url > /dev/null
46-
do
47-
echo "."
48-
sleep 60
49-
done
50-
echo "$url is available"
41+
uses: ./.github/actions/await-http-resource
42+
with:
43+
url: ${{ format('https://repo.maven.apache.org/maven2/org/springframework/spring-context/{0}/spring-context-{0}.jar', inputs.spring-framework-version) }}

.github/workflows/build-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- name: Check Out
2020
uses: actions/checkout@v4
2121
- name: Validate Gradle Wrapper
22-
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
22+
uses: gradle/actions/wrapper-validation@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
2323
- name: Set Up Gradle
24-
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
24+
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
2525
- name: Build
2626
env:
2727
CI: 'true'

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
toolchain: true
2323
- version: 22
2424
toolchain: true
25-
- version: 23-ea
26-
distribution: temurin
25+
- version: 23
26+
early-access: true
2727
toolchain: true
2828
exclude:
2929
- os:
@@ -44,7 +44,7 @@ jobs:
4444
uses: ./.github/actions/build
4545
with:
4646
java-version: ${{ matrix.java.version }}
47-
java-distribution: ${{ matrix.java.distribution || 'liberica' }}
47+
java-early-access: ${{ matrix.java.early-access || 'false' }}
4848
java-toolchain: ${{ matrix.java.toolchain }}
4949
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
5050
- name: Send Notification

.github/workflows/release-milestone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Set up JFrog CLI
60-
uses: jfrog/setup-jfrog-cli@8bab65dc312163b065ac5b03de6f6a5bdd1bec41 # v4.1.3
60+
uses: jfrog/setup-jfrog-cli@105617d23456a69a92485207c4f28ae12297581d # v4.2.1
6161
env:
6262
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
6363
- name: Promote build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-latest
7474
steps:
7575
- name: Set up JFrog CLI
76-
uses: jfrog/setup-jfrog-cli@8bab65dc312163b065ac5b03de6f6a5bdd1bec41 # v4.1.3
76+
uses: jfrog/setup-jfrog-cli@105617d23456a69a92485207c4f28ae12297581d # v4.2.1
7777
env:
7878
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
7979
- name: Promote build

0 commit comments

Comments
 (0)