Skip to content

Commit c365c10

Browse files
authored
fix(java-cloud-bom): execute pre-install pass in GHA release notes generator (googleapis#13608)
This PR fixes a SNAPSHOT dependency resolution error inside the `java-cloud-bom-release-note-generation.yaml` GHA workflow. It adds a `pre-install.sh` execution pass to compile and install local snapshots (like `gapic-libraries-bom`) to the runner's Maven cache before executing the generator.
1 parent a61fa6b commit c365c10

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/java-cloud-bom-release-note-generation.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
java-version: 11
4141
cache: maven
4242
- run: java -version
43+
- name: Pre-install Snapshot Dependencies
44+
run: |
45+
bash java-cloud-bom/tests/pre-install.sh
46+
shell: bash
4347
- name: Pick Libraries BOM version
4448
id: pick-version
4549
shell: bash

0 commit comments

Comments
 (0)