mirror of
https://github.com/CarmJos/cn2b2t-project.git
synced 2024-09-19 22:05:45 +00:00
不部署项目
This commit is contained in:
parent
ec9ffa478e
commit
ef0318b9db
12
.github/workflows/maven.yml
vendored
12
.github/workflows/maven.yml
vendored
@ -24,15 +24,13 @@ jobs:
|
|||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
cache: maven
|
cache: maven
|
||||||
server-id: github
|
server-id: github
|
||||||
# Nexus用户名环境变量
|
|
||||||
server-username: MAVEN_USERNAME
|
server-username: MAVEN_USERNAME
|
||||||
# Nexus密码环境变量
|
|
||||||
server-password: MAVEN_TOKEN
|
server-password: MAVEN_TOKEN
|
||||||
- name: "Package & Deploy"
|
# - name: "Package & Deploy"
|
||||||
run: mvn -B deploy --file pom.xml
|
# run: mvn -B deploy --file pom.xml
|
||||||
env:
|
# env:
|
||||||
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||||
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
# MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
- name: "Stage"
|
- name: "Stage"
|
||||||
run: mkdir staging && cp target/*.jar staging
|
run: mkdir staging && cp target/*.jar staging
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
|
Loading…
Reference in New Issue
Block a user