mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-04 16:48:16 +08:00
chore(deploy): 放弃中央库部署
This commit is contained in:
@@ -109,26 +109,26 @@ jobs:
|
|||||||
git commit -m "API Document generated."
|
git commit -m "API Document generated."
|
||||||
git push origin HEAD:gh-pages --force
|
git push origin HEAD:gh-pages --force
|
||||||
|
|
||||||
central-deploy:
|
# central-deploy:
|
||||||
name: "Deploy Project (Central)"
|
# name: "Deploy Project (Central)"
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
- name: "Set up JDK"
|
# - name: "Set up JDK"
|
||||||
uses: actions/setup-java@v2
|
# uses: actions/setup-java@v2
|
||||||
with:
|
# with:
|
||||||
java-version: '11'
|
# java-version: '11'
|
||||||
distribution: 'adopt'
|
# distribution: 'adopt'
|
||||||
cache: maven
|
# cache: maven
|
||||||
server-id: ossrh
|
# server-id: ossrh
|
||||||
server-username: MAVEN_USERNAME
|
# server-username: MAVEN_USERNAME
|
||||||
server-password: MAVEN_PASSWORD
|
# server-password: MAVEN_PASSWORD
|
||||||
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
||||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
||||||
|
#
|
||||||
- name: "Central Deploy"
|
# - name: "Central Deploy"
|
||||||
run: mvn -B -Possrh deploy --file pom.xml -DskipTests
|
# run: mvn -B -Possrh deploy --file pom.xml -DskipTests
|
||||||
env:
|
# env:
|
||||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
|
# MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
|
||||||
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}
|
# MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}
|
||||||
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
|
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
|
||||||
|
|||||||
Reference in New Issue
Block a user