File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 74
74
# https://stackoverflow.com/questions/57921325/gradle-signarchives-unable-to-read-secret-key
75
75
ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SONATYPE_SIGNING_KEY_PASSWORD }}
76
76
ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SONATYPE_SIGNING_PRIVATE_KEY }}
77
- GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
77
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78
+ permissions :
79
+ contents : write
78
80
steps :
79
81
- uses : actions/checkout@v3
80
82
with :
@@ -133,4 +135,4 @@ jobs:
133
135
./gradlew setSnapshotVersionSuffix --info
134
136
git add gradle.properties
135
137
git commit -m "Setting next snapshot version [skip ci]"
136
- git push https://x-access-token:${GH_PERSONAL_ACCESS_TOKEN }@github.com/${GITHUB_REPOSITORY}.git --follow-tags
138
+ git push https://x-access-token:${GITHUB_TOKEN }@github.com/${GITHUB_REPOSITORY}.git --follow-tags
You can’t perform that action at this time.
0 commit comments