mirror of
https://github.com/CarmJos/MineSQL.git
synced 2024-09-19 20:25:45 +00:00
ci(deploy): 修复部署问题
This commit is contained in:
parent
e001050f15
commit
1c650b53eb
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -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: |
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user