Skip to content

Commit

Permalink
Changed release workflow to push with personal token.
Browse files Browse the repository at this point in the history
  • Loading branch information
renelink committed Aug 14, 2024
1 parent 1eb2fdf commit 93647e3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -46,8 +49,10 @@ jobs:
git config user.email github-actions[bot]@users.noreply.github.com
- name: Build with Gradle Wrapper
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: |
./gradlew_release ${{ inputs.releaseType }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PUSH_TOKEN}}

0 comments on commit 93647e3

Please sign in to comment.