Skip to content

Commit 888a5fd

Browse files
author
mjarduk
committed
Fixed the build workflow (for sure this time)
1 parent 651f3bf commit 888a5fd

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,20 @@
11
name: Build
2-
3-
on:
4-
push:
5-
branches: [ master, staging, stable ]
6-
merge_group:
7-
pull_request:
8-
types: [ opened, reopened, synchronize, ready_for_review ]
9-
branches: [ master, staging, stable ]
2+
on: [pull_request, push]
103

114
jobs:
125
build:
13-
if: github.event.pull_request.draft == false
14-
strategy:
15-
matrix:
16-
os: [ ubuntu-latest ]
17-
runs-on: ${{ matrix.os }}
6+
runs-on: ubuntu-latest
187
steps:
19-
- name: checkout branch
8+
- name: checkout repository
209
uses: actions/checkout@v4
21-
2210
- name: validate gradle wrapper
2311
uses: gradle/actions/wrapper-validation@v4
24-
2512
- name: setup jdk
2613
uses: actions/setup-java@v4
2714
with:
2815
java-version: '17'
2916
distribution: 'microsoft'
30-
3117
- name: make gradle wrapper executable
3218
run: chmod +x ./gradlew
33-
3419
- name: build
35-
run: ./gradlew build
36-
37-
ci-success:
38-
name: Build
39-
needs:
40-
- build
41-
runs-on: ubuntu-latest
42-
steps:
43-
- name: CI succeeded
44-
run: exit 0
20+
run: ./gradlew build

0 commit comments

Comments
 (0)