mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
76a9b0e02a
Migrate each workflow to use reusable workflow from dedicated repo to
skip pushing CI related commits to openwrt and better track versioning
of CI workflow.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 38cc09165f
)
30 lines
630 B
YAML
30 lines
630 B
YAML
name: Build Toolchains
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/toolchain.yml'
|
|
- 'toolchain/**'
|
|
push:
|
|
paths:
|
|
- '.github/workflows/toolchain.yml'
|
|
- 'toolchain/**'
|
|
branches-ignore:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
build-toolchains:
|
|
name: Build Toolchains for each target
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
actions: write
|
|
uses: openwrt/actions-shared-workflows/.github/workflows/toolchain.yml@main
|