Skip to content

Commit

Permalink
Add job summary!
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiankirsch committed Nov 8, 2024
1 parent 9ccb4ba commit 9ab366f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
mvn -B -ntp -Dstyle.color=always release:prepare
VERSION=`cat release.properties | grep scm.tag= | cut -d'=' -f2`
mvn -B -ntp -Dstyle.color=always release:perform
echo "Released version ${VERSION}. 🚀" >> $GITHUB_STEP_SUMMARY
echo "Released ${VERSION} 🚀" >> $GITHUB_STEP_SUMMARY
env:
GPG_PASSPHRASE: ''
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,13 @@ jobs:
server-username: SONATYPE_USERNAME
server-password: SONATYPE_TOKEN
- name: Release with Maven
run: 'mvn -B -ntp -Dstyle.color=always release:prepare release:perform'
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
mvn -B -ntp -Dstyle.color=always release:prepare
VERSION=`cat release.properties | grep scm.tag= | cut -d'=' -f2`
mvn -B -ntp -Dstyle.color=always release:perform
echo "Released ${VERSION} 🚀" >> $GITHUB_STEP_SUMMARY
env:
GPG_PASSPHRASE: ''
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 9ab366f

Please sign in to comment.