-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use the correct variable to expose body message
- Loading branch information
1 parent
f554bec
commit a7039b1
Showing
3 changed files
with
70 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,48 @@ jobs: | |
@semantic-release/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
os-test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
- name: Output | ||
run: | | ||
echo "Get author info" | ||
echo " - ${{ env.GIT_COMMIT_AUTHOR }}" | ||
echo " - ${{ env.GIT_COMMIT_AUTHOR_NAME }}" | ||
echo " - ${{ env.GIT_COMMIT_AUTHOR_EMAIL }}" | ||
echo "Get committer info" | ||
echo " - ${{ env.GIT_COMMIT_COMMITTER }}" | ||
echo " - ${{ env.GIT_COMMIT_COMMITTER_NAME }}" | ||
echo " - ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}" | ||
echo "Get message info" | ||
echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}" | ||
echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED }}" | ||
echo " - ${{ env.GIT_COMMIT_MESSAGE_BODY }}" | ||
win-test: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
- name: Output | ||
run: | | ||
echo "Get author info" | ||
echo " - $env:GIT_COMMIT_AUTHOR" | ||
echo " - $env:GIT_COMMIT_AUTHOR_NAME" | ||
echo " - $env:GIT_COMMIT_AUTHOR_EMAIL" | ||
echo "Get committer info" | ||
echo " - $env:GIT_COMMIT_COMMITTER" | ||
echo " - $env:GIT_COMMIT_COMMITTER_NAME" | ||
echo " - $env:GIT_COMMIT_COMMITTER_EMAIL" | ||
echo "Get message info" | ||
echo " - $env:GIT_COMMIT_MESSAGE_SUBJECT" | ||
echo " - $env:GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED" | ||
echo " - $env:GIT_COMMIT_MESSAGE_BODY" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters