diff options
Diffstat (limited to '.github/workflows/ci_builds.yml')
| -rw-r--r-- | .github/workflows/ci_builds.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml index ce2d0b509e..366b5e0dde 100644 --- a/.github/workflows/ci_builds.yml +++ b/.github/workflows/ci_builds.yml | |||
| @@ -10,12 +10,11 @@ on: | |||
| 10 | 10 | ||
| 11 | jobs: | 11 | jobs: |
| 12 | ci_builds: | 12 | ci_builds: |
| 13 | if: github.repository == 'qmk/qmk_firmware' | ||
| 13 | name: "CI Build" | 14 | name: "CI Build" |
| 14 | runs-on: self-hosted | 15 | runs-on: self-hosted |
| 15 | timeout-minutes: 1380 | 16 | timeout-minutes: 1380 |
| 16 | 17 | ||
| 17 | if: github.repository == 'qmk/qmk_firmware' | ||
| 18 | |||
| 19 | strategy: | 18 | strategy: |
| 20 | fail-fast: false | 19 | fail-fast: false |
| 21 | matrix: | 20 | matrix: |
| @@ -58,3 +57,12 @@ jobs: | |||
| 58 | *.hex | 57 | *.hex |
| 59 | *.uf2 | 58 | *.uf2 |
| 60 | .build/failed.* | 59 | .build/failed.* |
| 60 | |||
| 61 | - name: 'CI Discord Notification' | ||
| 62 | if: always() | ||
| 63 | working-directory: util/ci/ | ||
| 64 | env: | ||
| 65 | DISCORD_WEBHOOK: ${{ secrets.CI_DISCORD_WEBHOOK }} | ||
| 66 | run: | | ||
| 67 | python3 -m pip install -r requirements.txt | ||
| 68 | python3 ./discord-results.py --branch ${{ matrix.branch }} --keymap ${{ matrix.keymap }} --url ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }} | ||
