Skip to content

Commit

Permalink
fix: update pr commit check (apache#450)
Browse files Browse the repository at this point in the history
* feat: add pr compilation check process

* fix: update pr commit check process

---------

Co-authored-by: gaoxihui <[email protected]>
  • Loading branch information
gaoxh and gaoxihui authored Sep 9, 2024
1 parent 903a28f commit a4d5d6b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Setup Maven Action
uses: s4u/[email protected]
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'zulu'
cache: maven

- run: echo '<settings> <interactiveMode>false</interactiveMode> <profiles> <profile> <repositories> <repository> <snapshots /> <id>ossrh</id> <name>ossrh-snapshot</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <snapshots /> <id>ossrh</id> <name>ossrh-snapshot</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </pluginRepository> </pluginRepositories> <id>artifactory</id> </profile> </profiles> <activeProfiles> <activeProfile>artifactory</activeProfile> </activeProfiles> <servers> <server> <id>github</id> <username>${env.GITHUB_ACTOR}</username> <password>${env.GITHUB_TOKEN}</password> </server> </servers> <mirrors/> <proxies/></settings>' > ~/.m2/settings.xml

Expand Down

0 comments on commit a4d5d6b

Please sign in to comment.