Skip to content

CI > build > reusable workflow #3

CI > build > reusable workflow

CI > build > reusable workflow #3

Workflow file for this run

name: MT build
on:
workflow_dispatch: # manual
pull_request:
push:
branches:
# - '**' # ALL
- 'master'
# TODO 'develop', 'main'?
# gh workflow run mt-build.yml --ref <branch>
# gh run list --workflow=mt-build.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.head_ref }}
cancel-in-progress: true
env:
MT_BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
MT_TARGET_BRANCH_NAME: ${{ github.base_ref || github.ref_name }}
MT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
jobs:
MT-BUILD-JOB:
uses: mtransitapps/mtransit-for-android/.github/workflows/mt-build.yml@mm/re-use_main_repo_ci_build_workflow