|
16 | 16 | IROH_FORCE_STAGING_RELAYS: "1" |
17 | 17 |
|
18 | 18 | jobs: |
19 | | - tests: |
20 | | - uses: './.github/workflows/tests.yaml' |
21 | | - with: |
22 | | - rust-version: beta |
23 | | - notify: |
24 | | - needs: tests |
25 | | - if: ${{ always() }} |
26 | | - runs-on: ubuntu-latest |
27 | | - steps: |
28 | | - - name: Extract test results |
29 | | - run: | |
30 | | - printf '${{ toJSON(needs) }}\n' |
31 | | - result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result) |
32 | | - echo TESTS_RESULT=$result |
33 | | - echo "TESTS_RESULT=$result" >>"$GITHUB_ENV" |
34 | | - - name: Notify discord on failure |
35 | | - uses: n0-computer/discord-webhook-notify@v1 |
36 | | - if: ${{ env.TESTS_RESULT == 'failure' }} |
37 | | - with: |
38 | | - severity: error |
39 | | - details: | |
40 | | - Rustc beta tests failed |
41 | | - See https://github.com/${{ github.repository }}/actions/workflows/beta.yaml |
42 | | - webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }} |
| 19 | + # tests: |
| 20 | + # uses: './.github/workflows/tests.yaml' |
| 21 | + # with: |
| 22 | + # rust-version: beta |
| 23 | + # notify: |
| 24 | + # needs: tests |
| 25 | + # if: ${{ always() }} |
| 26 | + # runs-on: ubuntu-latest |
| 27 | + # steps: |
| 28 | + # - name: Extract test results |
| 29 | + # run: | |
| 30 | + # printf '${{ toJSON(needs) }}\n' |
| 31 | + # result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result) |
| 32 | + # echo TESTS_RESULT=$result |
| 33 | + # echo "TESTS_RESULT=$result" >>"$GITHUB_ENV" |
| 34 | + # - name: Notify discord on failure |
| 35 | + # uses: n0-computer/discord-webhook-notify@v1 |
| 36 | + # if: ${{ env.TESTS_RESULT == 'failure' }} |
| 37 | + # with: |
| 38 | + # severity: error |
| 39 | + # details: | |
| 40 | + # Rustc beta tests failed |
| 41 | + # See https://github.com/${{ github.repository }}/actions/workflows/beta.yaml |
| 42 | + # webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }} |
43 | 43 |
|
0 commit comments