From 98a676740c46c8e23b5f3abc1b1c1ba712dd2754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Fri, 8 Nov 2024 09:58:07 +0100 Subject: [PATCH] Update CI workflow (#529) * Update CI workflow * Format files --- .github/workflows/build_on_push.yml | 14 -------------- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 .github/workflows/build_on_push.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/build_on_push.yml b/.github/workflows/build_on_push.yml deleted file mode 100644 index bc278450d3069..0000000000000 --- a/.github/workflows/build_on_push.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Build packages (on push) - -# This workflow runs when any of the following occur: -# - On push to branches named after ci/* -on: - push: - # Sequence of patterns matched against refs/heads - branches: - - "ci/*" - -jobs: - call-build-workflow: - uses: ./.github/workflows/build.yml - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000000..f64712e90bd53 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +# This workflow runs when any of the following occur: +# - On push to branches named after ci/* +on: + pull_request: + # Sequence of patterns matched against refs/heads + branches: + - "migrate-*" + - "ci/*" + +jobs: + call-test-workflow: + # uses: ./.github/workflows/test.yml + runs-on: ubuntu-22.04 + steps: + - run: | + ./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE + call-build-workflow: + uses: ./.github/workflows/build.yml + secrets: inherit