@@ -26,45 +26,45 @@ jobs:
2626 with :
2727 version : 2
2828 args : release --clean --skip=validate
29- email-meshsync-snaphost-release-notes-workflow :
30- needs :
31- - release
32- name : Email Meshsync Snapshot Release Notes
33- uses : layer5labs/meshery-extensions-packages/.github/workflows/notify-email.yml@master
34- secrets :
35- token : ${{ secrets.GH_ACCESS_TOKEN }}
36- MAIL_USERNAME : ${{ secrets.MAIL_USERNAME }}
37- MAIL_PASSWORD : ${{ secrets.MAIL_PASSWORD }}
38- with :
39- release-tag : ${{github.ref_name}}
40- 41- email-on-failure :
42- needs : [release, email-meshsync-snaphost-release-notes-workflow]
43- if : ${{ failure() }}
44- runs-on : ubuntu-latest
45- steps :
46- - name : Find failed jobs.
47- run : |
48- curl "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs" | jq -r '.jobs[] | select(.conclusion == "failure") | "\(.name): \(.steps[] | select(.conclusion == "failure") | .name)\n\(.html_url)\n"' >> output.txt
49- # Save multi-line environment variables by using the delimiters syntex.
50- echo "EMAIL_BODY<<EOF" >> $GITHUB_ENV
51- echo "$(cat ./output.txt)" >> $GITHUB_ENV
52- echo "EOF" >> $GITHUB_ENV
53- - name : Failed jobs summary
54- run : |
55- echo "${{ env.EMAIL_BODY }}"
56- - name : Send Email Notification
57- if : env.EMAIL_BODY != ''
58- uses : dawidd6/action-send-mail@v3
59- with :
60- server_address : smtp.gmail.com
61- server_port : 465
62- username : ${{ secrets.MAIL_USERNAME }}
63- password : ${{ secrets.MAIL_PASSWORD }}
64- subject : Job(s) failure in the build-and-release-stable workflow
65- 66- from : Build and Release Stable workflow
67- body : |
68- The workflow failed. Here are the details:
69- ${{ env.EMAIL_BODY }}
70- Workflow run log URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
29+ # email-meshsync-snaphost-release-notes-workflow:
30+ # needs:
31+ # - release
32+ # name: Email Meshsync Snapshot Release Notes
33+ # uses: layer5labs/meshery-extensions-packages/.github/workflows/notify-email.yml@master
34+ # secrets:
35+ # token: ${{ secrets.GH_ACCESS_TOKEN }}
36+ # MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }}
37+ # MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }}
38+ # with:
39+ # release-tag: ${{github.ref_name}}
40+ 41+ # email-on-failure:
42+ # needs: [release, email-meshsync-snaphost-release-notes-workflow]
43+ # if: ${{ failure() }}
44+ # runs-on: ubuntu-latest
45+ # steps:
46+ # - name: Find failed jobs.
47+ # run: |
48+ # curl "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs" | jq -r '.jobs[] | select(.conclusion == "failure") | "\(.name): \(.steps[] | select(.conclusion == "failure") | .name)\n\(.html_url)\n"' >> output.txt
49+ # # Save multi-line environment variables by using the delimiters syntex.
50+ # echo "EMAIL_BODY<<EOF" >> $GITHUB_ENV
51+ # echo "$(cat ./output.txt)" >> $GITHUB_ENV
52+ # echo "EOF" >> $GITHUB_ENV
53+ # - name: Failed jobs summary
54+ # run: |
55+ # echo "${{ env.EMAIL_BODY }}"
56+ # - name: Send Email Notification
57+ # if: env.EMAIL_BODY != ''
58+ # uses: dawidd6/action-send-mail@v3
59+ # with:
60+ # server_address: smtp.gmail.com
61+ # server_port: 465
62+ # username: ${{ secrets.MAIL_USERNAME }}
63+ # password: ${{ secrets.MAIL_PASSWORD }}
64+ # subject: Job(s) failure in the build-and-release-stable workflow
65+ 66+ # from: Build and Release Stable workflow
67+ # body: |
68+ # The workflow failed. Here are the details:
69+ # ${{ env.EMAIL_BODY }}
70+ # Workflow run log URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
0 commit comments