From fe52d735135f32d91c3c6a156a709c52317227bd Mon Sep 17 00:00:00 2001 From: AimanYosofi <=> Date: Mon, 30 Jun 2025 19:38:17 +0300 Subject: [PATCH 1/5] add ci "verify build compile" --- .github/workflows/pull_request.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 000000000..818fd0e93 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,26 @@ +name: Verify build compile + +on: + pull_request: + branches: [master] + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: 'temurin' + cache: 'gradle' + + - name: Grant execute permissions for gradlew + run: git update-index --chmod=+x gradlew + + - name: Build Project + run: ./gradlew build \ No newline at end of file From 625038a421883d77cd7d1a517d6c15a0da4f7659 Mon Sep 17 00:00:00 2001 From: AimanYosofi <=> Date: Mon, 30 Jun 2025 21:09:40 +0300 Subject: [PATCH 2/5] change ci branches --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 818fd0e93..a256298c4 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -2,7 +2,7 @@ name: Verify build compile on: pull_request: - branches: [master] + branches: [main, development] workflow_dispatch: From bf8cc823058dc00af1af395c8cf082f7f60e0174 Mon Sep 17 00:00:00 2001 From: AimanYosofi <=> Date: Mon, 30 Jun 2025 21:11:18 +0300 Subject: [PATCH 3/5] fix permissions for gradlew problem --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a256298c4..9d2577cba 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,7 +20,7 @@ jobs: cache: 'gradle' - name: Grant execute permissions for gradlew - run: git update-index --chmod=+x gradlew + run: chmod +x ./gradlew - name: Build Project run: ./gradlew build \ No newline at end of file From 68f0642942ee227ac2b62e02a8aa56c51ecb5e76 Mon Sep 17 00:00:00 2001 From: AimanYosofi <=> Date: Mon, 30 Jun 2025 22:44:29 +0300 Subject: [PATCH 4/5] rename workflow name --- .github/workflows/{pull_request.yml => verify_build_compile.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{pull_request.yml => verify_build_compile.yml} (100%) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/verify_build_compile.yml similarity index 100% rename from .github/workflows/pull_request.yml rename to .github/workflows/verify_build_compile.yml From c85c1591570de2bbba232aa668506ffcead4692d Mon Sep 17 00:00:00 2001 From: AimanYosofi <=> Date: Mon, 30 Jun 2025 23:26:39 +0300 Subject: [PATCH 5/5] rename workflow name --- .../{verify_build_compile.yml => ci_verify_build_compile.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{verify_build_compile.yml => ci_verify_build_compile.yml} (100%) diff --git a/.github/workflows/verify_build_compile.yml b/.github/workflows/ci_verify_build_compile.yml similarity index 100% rename from .github/workflows/verify_build_compile.yml rename to .github/workflows/ci_verify_build_compile.yml