File tree Expand file tree Collapse file tree 5 files changed +73
-14
lines changed
Expand file tree Collapse file tree 5 files changed +73
-14
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,17 @@ jobs:
1212 java : [8, 11]
1313 steps :
1414 - uses : actions/checkout@v4
15- - uses : actions/setup-java@v1
15+ - uses : actions/setup-java@v5
1616 with :
1717 java-version : ${{matrix.java}}
18- - name : Get current date
19- id : date
20- run : echo "date=$(date +'%Y-%m-%d' --utc)" >> "$GITHUB_OUTPUT"
21- - uses : actions/cache@v4
22- id : mvn-cache
23- with :
24- path : ~/.m2/repository
25- key : ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}
18+ distribution : ' temurin'
2619 - run : java -version
2720 # The http connection settings avoid Maven's HTTP connection reset in GitHub Actions
2821 # https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
2922 - run : |
30- ./mvnw -B -e -ntp install \
23+ ./mvnw -B -e -ntp test \
24+ -pl dependencies,boms/integration-tests \
25+ -DfailIfNoTests=false \
26+ -Dtest=com.google.cloud.BomContentTest \
3127 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false \
3228 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
33- - run : cd gradle-plugin && ./gradlew build publishToMavenLocal
34-
Original file line number Diff line number Diff line change 1+ {
2+ "boms/cloud-lts-bom" : " 8.0.0"
3+ }
Original file line number Diff line number Diff line change 77
88 <groupId >com.google.cloud</groupId >
99 <artifactId >gcp-lts-bom</artifactId >
10- <version >8.0.1-SNAPSHOT</version >
10+ <version >8.0.1-SNAPSHOT</version ><!-- {x-version-update:gcp-lts-bom:current} -->
1111 <packaging >pom</packaging >
1212
1313 <name >Google Cloud Long Term Support BOM</name >
545545 </dependency >
546546 </dependencies >
547547 </dependencyManagement >
548-
548+ <profiles >
549+ <profile >
550+ <id >release</id >
551+ <activation >
552+ <property >
553+ <name >performRelease</name >
554+ </property >
555+ </activation >
556+ <build >
557+ <plugins >
558+ <plugin >
559+ <groupId >org.apache.maven.plugins</groupId >
560+ <artifactId >maven-gpg-plugin</artifactId >
561+ <version >3.2.7</version >
562+ <executions >
563+ <execution >
564+ <id >sign-artifacts</id >
565+ <phase >verify</phase >
566+ <goals >
567+ <goal >sign</goal >
568+ </goals >
569+ <configuration >
570+ <gpgArguments >
571+ <arg >--pinentry-mode</arg >
572+ <arg >loopback</arg >
573+ </gpgArguments >
574+ </configuration >
575+ </execution >
576+ </executions >
577+ </plugin >
578+ <plugin >
579+ <groupId >org.apache.maven.plugins</groupId >
580+ <artifactId >maven-source-plugin</artifactId >
581+ <version >3.3.1</version >
582+ <executions >
583+ <execution >
584+ <id >attach-sources</id >
585+ <goals >
586+ <goal >jar-no-fork</goal >
587+ </goals >
588+ </execution >
589+ </executions >
590+ </plugin >
591+ </plugins >
592+ </build >
593+ </profile >
594+ </profiles >
549595</project >
Original file line number Diff line number Diff line change 1+ # Format:
2+ # module:released-version:current-version
3+
4+ gcp-lts-bom:8.0.0:8.0.1-SNAPSHOT
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" ,
3+ "separate-pull-requests" : true ,
4+ "include-component-in-tag" : true ,
5+ "packages" : {
6+ "boms/cloud-lts-bom" : {
7+ "release-type" : " java-backport" ,
8+ "component" : " gcp-lts-bom"
9+ }
10+ },
11+ "bootstrap-sha" : " 6b9240114536a03b72929d5fade85599fbdbbdd0"
12+ }
You can’t perform that action at this time.
0 commit comments