Fix BUILD_REFNAME and BUILD_VERSION settings

Update actions to use the correct `BUILD_REFNAME` and `BUILD_VERSION`
environment variables.

Closes gh-41573
This commit is contained in:
Phillip Webb 2024-07-22 14:29:07 +01:00
parent 8b06283502
commit 63742a9fa8
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,7 @@ jobs:
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
REFERENCE: ${{ github.event.inputs.build-refname }}
BUILD_REFNAME: ${{ github.event.inputs.build-refname }}
BUILD_VERSION: ${{ github.event.inputs.build-version }}
run: node run.js --no-checkout
- name: Sync Documentation
@ -52,6 +52,9 @@ jobs:
docs-ssh-key: ${{ secrets.DOCS_SSH_KEY }}
docs-ssh-host-key: ${{ secrets.DOCS_SSH_HOST_KEY }}
httpdocs-path: /spring-boot/antora/reference
env:
BUILD_REFNAME: ${{ github.event.inputs.build-refname }}
BUILD_VERSION: ${{ github.event.inputs.build-version }}
- name: Bust Cloudflare Cache
uses: spring-io/spring-doc-actions/bust-cloudflare-antora-cache@v0.0.17
with: