Skip to content

Commit

Permalink
ci(central): switch token to higher-permissioned one
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 26, 2024
1 parent 474e983 commit d099f83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Commit & Push changes
uses: actions-js/push@v1.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.SUBMODULE_TOKEN }}
message: "Releasing version ${{ github.event.inputs.version }}"
- name: Release with JReleaser
env:
Expand All @@ -53,13 +53,13 @@ jobs:
JRELEASER_GPG_PASSPHRASE: ${{ secrets.MAVEN_CENTRAL_GPG_PASSPHRASE }}
JRELEASER_NEXUS2_USERNAME: ${{ secrets.MAVEN_CENTRAL_NEXUS2_USERNAME }}
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.MAVEN_CENTRAL_NEXUS2_PASSWORD }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.SUBMODULE_TOKEN }}
run: ./release.sh
- name: Set the next release version
run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.nextVersion }}-SNAPSHOT
- name: Commit & Push changes
uses: actions-js/push@v1.4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.SUBMODULE_TOKEN }}
message: "Setting version ${{ github.event.inputs.nextVersion }}-SNAPSHOT"

0 comments on commit d099f83

Please sign in to comment.