Skip to content

Commit 83f230f

Browse files
committed
feat:测试工作流6
1 parent c125f4d commit 83f230f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
3939
with:
4040
arguments: build
41+
env:
42+
USERNAME: ${{ secrets.MAVEN_USERNAME }}
43+
TOKEN: ${{ secrets.MAVEN_TOKEN }}
4144

4245
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
4346
# the publishing section of your build.gradle
4447
- name: Publish to GitHub Packages
4548
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
4649
with:
4750
arguments: publish
48-
env:
49-
USERNAME: ${{ secrets.MAVEN_USERNAME }}
50-
TOKEN: ${{ secrets.MAVEN_TOKEN }}

0 commit comments

Comments
 (0)