Skip to content

Commit 55361fb

Browse files
williamhyundongjoon-hyun
authored andcommitted
ORC-1963: Enforce Apache release profile with maven install
### What changes were proposed in this pull request? This PR aims to enforce `apache-release` profile with Maven install in CIs. ### Why are the changes needed? To detect a release blocker as early as possible. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #2340 from williamhyun/apache-release. Authored-by: William Hyun <william@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent d2bfea0 commit 55361fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish_snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ jobs:
2424
run: |
2525
cd java
2626
echo "<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>" > settings.xml
27+
# We should use local installation to test `apache-release` profile
28+
./mvnw --settings settings.xml -nsu -ntp -DskipTests install -Papache-release
2729
./mvnw --settings settings.xml -nsu -ntp -DskipTests deploy

0 commit comments

Comments
 (0)