Harmonize GitHub Actions settings

Closes gh-41463
This commit is contained in:
Stéphane Nicoll
2024-07-12 12:08:11 +02:00
parent f702230c12
commit f4b55a6f28
5 changed files with 18 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ jobs:
uri: 'https://repo.spring.io'
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
build-name: ${{ format('spring-boot-{0}', github.ref_name)}}
build-name: 'spring-boot-3.2.x'
repository: 'libs-snapshot-local'
folder: 'deployment-repository'
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}

View File

@@ -2,7 +2,7 @@ name: CI
on:
push:
branches:
- 3.2.x
- '3.2.x'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
@@ -43,6 +43,7 @@ jobs:
uses: ./.github/actions/build
with:
java-version: ${{ matrix.java.version }}
java-distribution: ${{ matrix.java.distribution || 'liberica' }}
java-toolchain: ${{ matrix.java.toolchain }}
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
- name: Send Notification

View File

@@ -7,9 +7,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-and-stage-release:
if: ${{ github.repository == 'spring-projects/spring-boot' }}
name: Build and Stage Release
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-boot' }}
steps:
- name: Check Out Code
uses: actions/checkout@v4
@@ -22,14 +22,14 @@ jobs:
- name: Stage Release
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
with:
build-name: ${{ format('spring-boot-{0}', steps.build-and-publish.outputs.version)}}
folder: 'deployment-repository'
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
repository: 'libs-staging-local'
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
uri: 'https://repo.spring.io'
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
build-name: ${{ format('spring-boot-{0}', steps.build-and-publish.outputs.version)}}
repository: 'libs-staging-local'
folder: 'deployment-repository'
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
artifact-properties: |
/**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false
outputs:

View File

@@ -2,7 +2,7 @@ name: Run System Tests
on:
push:
branches:
- 3.2.x
- '3.2.x'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs: