playing with workflow summary

This commit is contained in:
Jean-Christian Denis 2024-12-03 00:09:38 +01:00
parent f7f4cb359e
commit 3336834daf
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -46,7 +46,7 @@ jobs:
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
- name: found - name: found
if: (steps.repository.outputs.exists == 'false') if: (steps.repository.outputs.exists == 'true')
run: | run: |
SUMMARY=$'Repository tag ${{ steps.dotclear.outputs.version }} found.\nStopping workflow.' SUMMARY=$'Repository tag ${{ steps.dotclear.outputs.version }} found.\nStopping workflow.'
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
@ -74,7 +74,7 @@ jobs:
- name: summary - name: summary
run: | run: |
SUMMARY=$'Release ${{ steps.dotclear.outputs.version }} created.' SUMMARY=$'Release ${{ steps.dotclear.outputs.version }} created.\n${{ steps.create_release.outputs.url }}'
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
do_image: do_image: