1
mirror of https://github.com/CarmJos/MineSQL.git synced 2024-09-19 20:25:45 +00:00

ci(deploy): 修复部署问题

This commit is contained in:
Carm Jos 2022-12-19 19:08:17 +08:00
parent e001050f15
commit 1c650b53eb
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,7 @@ on:
jobs: jobs:
packages-deploy: packages-deploy:
name: "Deploy Project (GitHub)" name: "Deploy Project (GitHub Packages)"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -44,6 +44,7 @@ jobs:
asset_content_type: application/java-archive asset_content_type: application/java-archive
github-deploy: github-deploy:
name: "Deploy Project (GitHub Repo)"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -55,7 +56,7 @@ jobs:
cache: maven cache: maven
- name: "Maven Deploy" - name: "Maven Deploy"
run: mvn -B -Plocal deploy --file pom.xml -DskipTests run: mvn -B -Plocal deploy --file pom.xml -DskipTests -Dgpg.skip
- name: "Copy artifacts" - name: "Copy artifacts"
run: | run: |

View File

@ -297,7 +297,7 @@
<repository> <repository>
<id>github</id> <id>github</id>
<name>GitHub Packages</name> <name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/MineConfiguration</url> <url>https://maven.pkg.github.com/CarmJos/MineSQL</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
</profile> </profile>