mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 05:43:46 +08:00
fix: remove unused files
This commit is contained in:
34
.github/workflow/deployment.yaml
vendored
34
.github/workflow/deployment.yaml
vendored
@@ -1,34 +0,0 @@
|
|||||||
name: Maven Central Repo Deployment
|
|
||||||
# 当合并到release 分支的
|
|
||||||
on:
|
|
||||||
create:
|
|
||||||
branches:
|
|
||||||
- release
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Maven Central Repo
|
|
||||||
uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: 1.8
|
|
||||||
server-id: sonatype-nexus-staging
|
|
||||||
server-username: MAVEN_USERNAME
|
|
||||||
server-password: MAVEN_PASSWORD
|
|
||||||
- id: install-secret-key
|
|
||||||
name: Install GPG Secret Key
|
|
||||||
run: |
|
|
||||||
cat <(echo -e "${{ secrets.GPG_PUB }}") | gpg --batch --import
|
|
||||||
gpg --list-secret-keys --keyid-format LONG
|
|
||||||
- id: publish-to-central
|
|
||||||
name: Publish to Maven Central Repo
|
|
||||||
env:
|
|
||||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
|
|
||||||
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
|
|
||||||
run: |
|
|
||||||
mvn \
|
|
||||||
--no-transfer-progress \
|
|
||||||
--batch-mode \
|
|
||||||
-Dgpg.passphrase=${{ secrets.GPG_PASSWORD }} \
|
|
||||||
clean deploy
|
|
||||||
Reference in New Issue
Block a user