From d7e0bdea04d586de5fd2b2d7cbb214ce9cfb4841 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Sun, 11 Dec 2022 02:10:49 +0530 Subject: [PATCH] =?UTF-8?q?feat:=20setup=20Pipeline=20=F0=9F=9A=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- .github/workflows/pipeline.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/pipeline.yml diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..02e1916 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -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