1
mirror of https://github.com/CarmJos/cn2b2t-project.git synced 2024-09-19 13:55:45 +00:00

不部署项目

This commit is contained in:
carm 2021-10-17 14:42:01 +08:00
parent ec9ffa478e
commit ef0318b9db

View File

@ -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"