Skip to content

Commit

Permalink
Weekly build w update to Slack
Browse files Browse the repository at this point in the history
  • Loading branch information
JanneKiiskila committed Jun 6, 2024
1 parent a413506 commit d62c77a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/devmode-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
schedule:
# Once week 03:26 on Saturday
- cron: '26 3 * * Sat'

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: mbed-edge-test-build-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
cancel-in-progress: true

jobs:

build:

runs-on: [ "self-hosted", "client" ]
env:
SCRIPTS_INTERNAL_DIR: scripts-internal
EDGE_CONFIGS_DIR: scripts-internal/edge/edge-config/build-mbed-edge-devmode-test

SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v4
name: checkout repo
Expand All @@ -35,3 +37,9 @@ jobs:
uses: ./.github/actions/build-mbed-edge
with:
configfiles: ${{ env.EDGE_CONFIGS_DIR }}
- name: Post status to Slack testing_builds
if: always()
uses: act10ns/slack@v2
with:
status: ${{ job.status }}
channel: '#testing_builds'

0 comments on commit d62c77a

Please sign in to comment.