Skip to content

Commit

Permalink
Merge pull request #17 from behappy-project/springboot3
Browse files Browse the repository at this point in the history
fix:修正pom
  • Loading branch information
wang-xiaowu authored Mar 6, 2023
2 parents ecd6e6d + b671b4e commit aed8bb4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:
java-version: 17
distribution: 'temurin'
cache: maven
server-id: sonatype-nexus-staging
server-username: ${{ secrets.OSSRH_USER }}
server-password: ${{ secrets.OSSRH_PASSWORD }}
gpg-passphrase: ${{ secrets.GPG_PASSWORD }}
# 3. 发布到Maven中央仓库
- name: Publish to Maven Central Repo
# 这里用到了其他人写的action脚本,详细可以去看他的文档。
Expand All @@ -36,3 +32,5 @@ jobs:
gpg_passphrase: ${{ secrets.GPG_PASSWORD }}
nexus_username: ${{ secrets.OSSRH_USER }}
nexus_password: ${{ secrets.OSSRH_PASSWORD }}
server_id: ossrh
maven_goals_phases: clean deploy -DskipTests -Prelease

0 comments on commit aed8bb4

Please sign in to comment.