File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ jobs:
101101 name : ${{ matrix.config.name }}_${{ matrix.branch }}_${{ matrix.java.ver }}_results
102102 path : check
103103
104- # - name: Notify on failure
105- # if: failure() && secrets.GOOGLE_CHAT_WEBHOOK_URL != ''
106- # run: |
107- # curl -X POST \
108- # -H 'Content-Type: application/json' \
109- # -d '{
110- # "text": "🚨 *Weekly Tests Failed*\n\n• **Branch**: ${{ matrix.branch }}\n• **OS**: ${{ matrix.config.name }}\n• **Java**: ${{ matrix.java.ver }}\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
111- # }' \
112- # "${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
104+ - name : Notify on failure
105+ if : failure() && secrets.GOOGLE_CHAT_WEBHOOK_URL != ''
106+ run : |
107+ curl -X POST \
108+ -H 'Content-Type: application/json' \
109+ -d '{
110+ "text": "🚨 *Weekly Tests Failed*\n\n• **Branch**: ${{ matrix.branch }}\n• **OS**: ${{ matrix.config.name }}\n• **Java**: ${{ matrix.java.ver }}\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
111+ }' \
112+ "${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ jobs:
4141 viash --help > /dev/null
4242 echo "✅ viash help command works"
4343
44- # - name: Notify download test failure
45- # if: failure() && secrets.GOOGLE_CHAT_WEBHOOK_URL != ''
46- # run: |
47- # curl -X POST \
48- # -H 'Content-Type: application/json' \
49- # -d '{
50- # "text": "🚨 *Viash Download Test Failed*\n\n• **OS**: ${{ matrix.os }}\n• **Issue**: Failed to download/install viash from https://dl.viash.io\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
51- # }' \
52- # "${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
44+ - name : Notify download test failure
45+ if : failure() && secrets.GOOGLE_CHAT_WEBHOOK_URL != ''
46+ run : |
47+ curl -X POST \
48+ -H 'Content-Type: application/json' \
49+ -d '{
50+ "text": "🚨 *Viash Download Test Failed*\n\n• **OS**: ${{ matrix.os }}\n• **Issue**: Failed to download/install viash from https://dl.viash.io\n• **Repository**: ${{ github.repository }}\n• **Run**: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Logs>"
51+ }' \
52+ "${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}"
You can’t perform that action at this time.
0 commit comments