Build Spring Data Relational 3.2.9 docs from a branch.

This commit is contained in:
Mark Paluch
2024-08-19 14:17:52 +02:00
parent f02199f512
commit 1b35792c77
3 changed files with 15 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.13.0
uses: s4u/setup-maven-action@v1.14.0
with:
java-version: 17
- name: Set up refname build
@@ -47,15 +47,17 @@ jobs:
package-lock.json
key: ${{ runner.os }}-nodejs-${{ hashFiles('pom.xml') }}
- name: Cache Maven
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-maven
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven
- name: Cache Antora
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
key: ${{ runner.os }}-antora-${{ github.event.inputs.module }}-${{ hashFiles('**/*.yml') }}
restore-keys: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
- name: Run Antora
run: ./mvnw -B antora -Dspring-data.module=${{ github.event.inputs.module }}
# - name: Archive results

View File

@@ -13,14 +13,15 @@ content:
- url: https://github.com/spring-projects/spring-data-jpa
# Refname matching:
# https://docs.antora.org/antora/latest/playbook/content-refname-matching/
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)','!3.2.0-M1' ]
# docs/3.2.9 and 3.3.3 tag contains invalid references, so we build 3.2.9 from a docs fix branch.
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x', 'docs/3.2.9', 'docs/3.3.3' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)', '!(3.2.*)', '!(3.3.*)' ]
start_path: src/main/antora
- url: https://github.com/spring-projects/spring-data-commons
# Refname matching:
# https://docs.antora.org/antora/latest/playbook/content-refname-matching/
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)','!3.2.0-M1','!3.2.0-M2' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)', '!3.2.0-M1', '!3.2.0-M2' ]
start_path: src/main/antora
asciidoc:
attributes:

View File

@@ -13,14 +13,15 @@ content:
- url: https://github.com/spring-projects/spring-data-relational
# Refname matching:
# https://docs.antora.org/antora/latest/playbook/content-refname-matching/
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)','!3.2.0-M1','!3.2.0-M2' ]
# docs/3.2.9 tag contains invalid references, so we build 3.2.9 from a docs fix branch.
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x', 'docs/3.2.9' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)', '!(3.2.*)' ]
start_path: src/main/antora
- url: https://github.com/spring-projects/spring-data-commons
# Refname matching:
# https://docs.antora.org/antora/latest/playbook/content-refname-matching/
branches: [ main, '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)','!3.2.0-M1','!3.2.0-M2' ]
tags: [ '({3..9}).+({0..9}).*', '!(3.0.*)', '!(3.1.*)', '!3.2.0-M1', '!3.2.0-M2' ]
start_path: src/main/antora
asciidoc:
attributes: