Skip to content

Commit 051fa8d

Browse files
committed
fix: use access token
Signed-off-by: zongz <[email protected]>
1 parent 17db8c1 commit 051fa8d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/java-test.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,13 @@ jobs:
152152
- name: Deploy to Github Packages
153153
working-directory: java
154154
run: |
155-
mvn clean package deploy -DskipTests=true -DserverId=github -s ../.github/mvn-settings.xml
155+
mvn clean package deploy \
156+
-DskipTests=true \
157+
-Djni.classifier=${{ matrix.classifier }} \
158+
-Dcargo-build.profile=release \
159+
-DserverId=github \
160+
-s ../.github/mvn-settings.xml
156161
env:
157162
GITHUB_ACTOR: ${{ github.actor }}
158-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163+
GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
159164

0 commit comments

Comments
 (0)