Skip to content

Commit

Permalink
fix: add deploy user
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <zongzhe1024@163.com>
  • Loading branch information
zong-zhe committed Apr 26, 2024
1 parent 8f6ad92 commit e14d832
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/java-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ jobs:
name: kcl-lib
path: java/target/*.jar

- name: Print repository owner
run: echo "Repository owner is ${{ github.repository_owner }} ${{ github.actor }}"

- name: Deploy to Github Packages
working-directory: java
run: |
Expand All @@ -161,6 +158,6 @@ jobs:
-DserverId=github \
-s ../.github/mvn-settings.xml
env:
GITHUB_ACTOR: ${{ github.repository_owner }}
GITHUB_ACTOR: ${{ secrets.MAVEN_DEPLOY_USER }}
GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}

0 comments on commit e14d832

Please sign in to comment.