1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2026-06-04 15:28:21 +08:00

添加packages自动部署

This commit is contained in:
carm
2021-10-07 21:51:16 +08:00
parent 3a41560972
commit 0d17e7f1b6
+2 -3
View File
@@ -23,14 +23,13 @@ jobs:
java-version: '11'
distribution: 'adopt'
cache: maven
- name: run Maven
run: mvn -B deploy --file pom.xml
with:
server-id: github
# Nexus用户名环境变量
server-username: ${{ secrets.MAVEN_USERNAME }}
# Nexus密码环境变量
server-password: ${{ secrets.GITHUB_TOKEN }}
- name: run Maven
run: mvn -B deploy --file pom.xml
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v2
with: