Skip to content

Commit 85175e4

Browse files
committed
fix: update CI workflow for correct branch and Gradle setup
- Add master branch to push triggers (repo uses master, not main) - Specify Gradle 8.12.1 in setup-gradle action - Remove gradlew chmod step (no longer needed) - Use direct gradle commands instead of ./gradlew wrapper These changes ensure the CI pipeline triggers on the correct branch and uses a consistent Gradle version via the setup-gradle action rather than relying on the wrapper script.
1 parent 72ce02a commit 85175e4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- master
89
pull_request:
910

1011
permissions:
@@ -34,23 +35,22 @@ jobs:
3435

3536
- name: Set up Gradle
3637
uses: gradle/actions/setup-gradle@v4
38+
with:
39+
gradle-version: "8.12.1"
3740

3841
- name: Set up Python
3942
uses: actions/setup-python@v5
4043
with:
4144
python-version: "3.12"
4245

43-
- name: Ensure Gradle wrapper is executable
44-
run: chmod +x gradlew
45-
4646
- name: Sync addon source repos
4747
run: python tools/download_latest_release_jars.py --update
4848

4949
- name: Download latest release fixture jars
50-
run: ./gradlew downloadLatestReleaseJars --no-daemon
50+
run: gradle downloadLatestReleaseJars --no-daemon
5151

5252
- name: Run test suite
53-
run: ./gradlew test --no-daemon
53+
run: gradle test --no-daemon
5454

5555
- name: Upload release summaries
5656
if: always()

0 commit comments

Comments
 (0)