From 7eac8dcdc42343710d66e8e6d4ba0dd8a094022d Mon Sep 17 00:00:00 2001 From: "felord.cn" Date: Tue, 23 Mar 2021 00:25:44 +0800 Subject: [PATCH] fix: remove unused files --- .github/workflow/deployment.yaml | 34 -------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflow/deployment.yaml diff --git a/.github/workflow/deployment.yaml b/.github/workflow/deployment.yaml deleted file mode 100644 index ac556cf..0000000 --- a/.github/workflow/deployment.yaml +++ /dev/null @@ -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