Skip to content

Commit

Permalink
changed the process of sharing the commits text
Browse files Browse the repository at this point in the history
  • Loading branch information
remmintan committed May 21, 2023
1 parent 3bbb42a commit 7b7528e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Retrieve all commit messages pushed and put in the environment variable GITHUB_COMMITS_TEXT
run: |
echo "GITHUB_COMMITS_TEXT=$(git log --format=%s ${{ github.sha }}..${{ github.event.before }})" >> $GITHUB_ENV
export GITHUB_COMMITS_TEXT=$(git log --format=%s ${{ github.sha }}..${{ github.event.before }})
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
Expand All @@ -46,6 +46,7 @@ jobs:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_NUMBER: ${{ github.run_number }}
GITHUB_COMMITS_TEXT: $GITHUB_COMMITS_TEXT

- name: Delete packages, keep most recent
uses: actions/delete-package-versions@v4
Expand Down

0 comments on commit 7b7528e

Please sign in to comment.