File tree Expand file tree Collapse file tree 15 files changed +895
-448
lines changed
Expand file tree Collapse file tree 15 files changed +895
-448
lines changed Original file line number Diff line number Diff line change 1616 java-version : 21
1717 distribution : temurin
1818 cache : maven
19+ - run : $MVN install
20+ working-directory : bom
1921 - run : |
2022 $MVN -D quickly clean install
2123 $MVN -P snippets javadoc:aggregate
Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9- deploy :
9+ deploy-bom :
10+ name : Deploy BOM
11+ runs-on : ubuntu-latest
12+ env :
13+ MVN : ./mvnw --show-version --batch-mode --no-transfer-progress
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-java@v4
17+ with :
18+ java-version : 17
19+ distribution : temurin
20+ cache : maven
21+ - run : $MVN package
22+ working-directory : bom
23+ - uses : actions/setup-java@v4
24+ with : # running setup-java again overwrites the settings.xml
25+ java-version : 17
26+ distribution : temurin
27+ server-id : central
28+ server-username : CENTRAL_USERNAME
29+ server-password : CENTRAL_PASSWORD
30+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
31+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
32+ - run : $MVN deploy -P release
33+ working-directory : bom
34+ env :
35+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
36+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
37+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
38+
39+ deploy-patternfly :
1040 name : Deploy Maven Artifacts
1141 runs-on : ubuntu-latest
42+ needs : deploy-bom
1243 env :
1344 MVN : ./mvnw --show-version --batch-mode --no-transfer-progress
1445 steps :
4677 java-version : 21
4778 distribution : temurin
4879 cache : maven
80+ - run : $MVN install
81+ working-directory : bom
4982 - run : |
5083 $MVN -D quickly clean install
5184 $MVN -P snippets javadoc:aggregate
6295 publish-showcase :
6396 name : Publish Showcase
6497 runs-on : ubuntu-latest
98+ needs : deploy-patternfly
6599 env :
66100 MVN : ./mvnw --show-version --batch-mode --no-transfer-progress
67101 steps :
82116
83117 release :
84118 name : Create GitHub Release
85- needs : deploy
86119 runs-on : ubuntu-latest
120+ needs : deploy-patternfly
87121 steps :
88122 - name : Get Version
89123 id : get-version
Original file line number Diff line number Diff line change 1616 java-version : 17
1717 distribution : temurin
1818 cache : maven
19+ - run : $MVN install
20+ working-directory : bom
1921 - run : $MVN --projects org.patternfly:patternfly-java-showcase-j2cl --also-make -P showcase,prod package
2022 -
uses :
JamesIves/[email protected] 2123 with :
Original file line number Diff line number Diff line change 66 types : [completed]
77
88jobs :
9+ snapshot-bom :
10+ name : Publish BOM
11+ runs-on : ubuntu-latest
12+ env :
13+ MVN : ./mvnw --show-version --batch-mode --no-transfer-progress
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-java@v4
17+ with :
18+ java-version : 17
19+ distribution : temurin
20+ cache : maven
21+ server-id : central
22+ server-username : CENTRAL_USERNAME
23+ server-password : CENTRAL_PASSWORD
24+ - run : $MVN deploy -DskipTests
25+ working-directory : bom
26+ env :
27+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
28+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
29+
930 snapshot :
1031 name : Publish Snapshot
1132 runs-on : ubuntu-latest
33+ needs : snapshot-bom
1234 env :
1335 MVN : ./mvnw --show-version --batch-mode --no-transfer-progress
1436 steps :
Original file line number Diff line number Diff line change 1919 java-version : 17
2020 distribution : temurin
2121 cache : maven
22+ - run : $MVN install
23+ working-directory : bom
2224 - run : $MVN verify
Original file line number Diff line number Diff line change 1+ -T
2+ 1C
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
18- wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+ wrapperVersion =3.3.2
18+ distributionType =only-script
19+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-3/apache-maven-4.0.0-rc-3-bin.zip
Original file line number Diff line number Diff line change 1+ -T
2+ 1C
You can’t perform that action at this time.
0 commit comments