Skip to content

Commit

Permalink
chore: build beta build
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine committed May 23, 2024
1 parent 7510e28 commit cb4648d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-beta-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: "Bbeta app"
on:
push:
branches:
- main
- develop
merge_group:
pull_request:
branches:
- main
- develop
types: [ opened, synchronize ]
workflow_call:

Expand All @@ -19,11 +19,10 @@ jobs:
code-analysis:
uses: ./.github/workflows/code-analysis.yml
unit-tests:
needs: [ code-analysis ]
uses: ./.github/workflows/gradle-run-unit-tests.yml
build-app:
needs: [ unit-tests ]
runs-on: buildjet-8vcpu-ubuntu-2204
needs: [ unit-tests, code-analysis ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-develop-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "Develop app"
on:
push:
branches:
- develop
- rc
pull_request:
branches:
- develop
- rc
types: [ opened, synchronize ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build-prod-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ jobs:
code-analysis:
uses: ./.github/workflows/code-analysis.yml
unit-tests:
needs: [ code-analysis ]
uses: ./.github/workflows/gradle-run-unit-tests.yml
build-app:
needs: [ unit-tests ]
runs-on: buildjet-8vcpu-ubuntu-2204
needs: [ unit-tests, code-analysis ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build-rc-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
code-analysis:
uses: ./.github/workflows/code-analysis.yml
unit-tests:
needs: [ code-analysis ]
uses: ./.github/workflows/gradle-run-unit-tests.yml
build-app:
needs: [ unit-tests ]
runs-on: buildjet-8vcpu-ubuntu-2204
needs: [ unit-tests, code-analysis ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:
contents: read

jobs:
build-app:
testCoverage:
runs-on: buildjet-8vcpu-ubuntu-2204
steps:
- name: Checkout
Expand Down

0 comments on commit cb4648d

Please sign in to comment.