Skip to content

Commit

Permalink
Update ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Jul 9, 2024
1 parent 0a9be12 commit 51ad3a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
#TODO remove -Pstaging once all Jakarta EE 11 dependencies are GA
run: mvn -B -Pstaging package --file pom.xml
- name: Build project
run: mvn -B --file pom.xml
- name: Build relocation
run: mvn -B --file relocation/pom.xml
5 changes: 2 additions & 3 deletions .github/workflows/specification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Generate specification docs
#TODO remove -Pstaging once all Jakarta EE 11 dependencies are GA
run: |
mvn package -Pstaging --file api/pom.xml -Dspec.version=${{ github.event.inputs.specVersion }}
mvn package -Pstaging --file specification/pom.xml -Dstatus=FINAL -Dspec.version=${{ github.event.inputs.specVersion }}
mvn package --file api/pom.xml -Dspec.version=${{ github.event.inputs.specVersion }}
mvn package --file specification/pom.xml -Dstatus=FINAL -Dspec.version=${{ github.event.inputs.specVersion }}
- name: Assemble documentation
run: |
mkdir documentation/
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
id: checkout
run: .github/scripts/checkout.sh update-generated-files-${{ github.sha }}
- name: Generate signatures
#TODO remove -Pstaging once all Jakarta EE 11 dependencies are GA
run: |
mvn install -Pstaging --file api/pom.xml
mvn package -Pstaging -Psignature-generation --file tck/pom.xml
mvn install --file api/pom.xml
mvn package -Psignature-generation --file tck/pom.xml
## Add any other automated update steps here
- name: Needs updates
id: update
Expand Down

0 comments on commit 51ad3a0

Please sign in to comment.