feat: setup Pipeline 🚰
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
This commit is contained in:
parent
f9d1456fc7
commit
d7e0bdea04
1 changed files with 34 additions and 0 deletions
34
.github/workflows/pipeline.yml
vendored
Normal file
34
.github/workflows/pipeline.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: 'The Pipeline'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.ref }}-1
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
extract-branch:
|
||||
name: 'Fetch branch'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
current_branch: ${{ steps.get-branch.outputs.current_branch }}
|
||||
steps:
|
||||
- name: Extract branch name 🕊
|
||||
id: get-branch
|
||||
run: echo "current_branch=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
|
||||
ci:
|
||||
name: 'CI'
|
||||
needs:
|
||||
- extract-branch
|
||||
uses: maptiler/tileserver-gl/.github/workflows/ci.yml@master
|
||||
ct:
|
||||
name: 'CT'
|
||||
needs:
|
||||
- extract-branch
|
||||
uses: maptiler/tileserver-gl/.github/workflows/ct.yml@master
|
||||
Loading…
Reference in a new issue