Skip to content

Commit

Permalink
Update pr-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube authored Sep 25, 2023
1 parent ccbe1db commit e8f044d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
steps:
- name: Set env
run: |
echo "DATETIME=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
if [[ "${{ needs.build.result }}" == "success" ]]; then
echo "MESSAGE=✅ Build succeeded!" >> $GITHUB_ENV
else
Expand All @@ -95,7 +96,7 @@ jobs:
pr_number: ${{ inputs.pr-number }}
mode: recreate
message: |
${{ env.MESSAGE }} @ $(date +'%Y-%m-%d %H:%M:%S')
${{ env.MESSAGE }} @ ${{ env.DATETIME }}
You can check the details [here](${{ github.event.pull_request.html_url }}).
Expand Down

0 comments on commit e8f044d

Please sign in to comment.