Skip to content

Commit

Permalink
Fix token for CI releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
yadobler committed Sep 10, 2024
1 parent 95f08ef commit bdc4bae
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,10 @@ jobs:
run: ./gradlew shadowJar

- name: Release Jar file
uses: phuonghuynh/action-ghrelease@v1.1.0
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
# Note-worthy description of changes in release
body: This release is automated with github actions.
# body_path: ${{ github.workspace }}-CHANGELOG.txt
# Gives the release a custom name. Defaults to tag name
name: (${{github.ref_name}}) New Jar File Release!
# Newline-delimited list of path globs for asset files to upload
files: ./build/libs/yappingbot.jar
token: ${{ github.token }}
name: (${{github.ref_name}}) New Jar File Release!
generate_release_notes: true
token: ${{ secrets.IP_RELEASE_TOKEN }}

0 comments on commit bdc4bae

Please sign in to comment.