Skip to content

Commit d03f071

Browse files
committed
wip
1 parent 9a26e32 commit d03f071

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151
uses: actions/checkout@v4
5252
with:
5353
submodules: recursive
54-
- name: Gradle Wrapper Validation
55-
uses: gradle/actions/wrapper-validation@v3
56-
with:
57-
working-directory: intellij-aicoder
5854
- name: Setup Java
5955
uses: actions/setup-java@v4
6056
with:
@@ -64,25 +60,21 @@ jobs:
6460
run: |
6561
java -version
6662
echo "JAVA_HOME=$JAVA_HOME"
67-
- name: Setup Gradle
68-
uses: gradle/actions/setup-gradle@v4
69-
with:
70-
gradle-home-cache-cleanup: true
7163
- name: Make Gradle wrapper executable
72-
run: chmod +x ./gradlew
64+
run: chmod +x intellij-aicoder/gradlew
7365
- name: Print Gradle version
7466
working-directory: intellij-aicoder
75-
run: ../gradlew --version
67+
run: ./gradlew --version
7668

7769
- name: Export Properties
7870
working-directory: intellij-aicoder
7971
id: properties
8072
shell: bash
8173
run: |
8274
echo "Starting properties export..."
83-
PROPERTIES="$(../gradlew properties --console=plain -q)"
75+
PROPERTIES="$(./gradlew properties --console=plain -q)"
8476
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
85-
CHANGELOG="$(../gradlew getChangelog --unreleased --no-header --console=plain -q)"
77+
CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
8678
echo "Detected version: $VERSION"
8779
8880
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -153,10 +145,6 @@ jobs:
153145
uses: actions/checkout@v4
154146
with:
155147
submodules: recursive
156-
- name: Gradle Wrapper Validation
157-
uses: gradle/actions/wrapper-validation@v3
158-
with:
159-
working-directory: intellij-aicoder
160148
- name: Setup Java
161149
uses: actions/setup-java@v4
162150
with:
@@ -166,21 +154,17 @@ jobs:
166154
run: |
167155
java -version
168156
echo "JAVA_HOME=$JAVA_HOME"
169-
- name: Setup Gradle
170-
uses: gradle/actions/setup-gradle@v4
171-
with:
172-
gradle-home-cache-cleanup: true
173157
- name: Make Gradle wrapper executable
174-
run: chmod +x ./gradlew
158+
run: chmod +x intellij-aicoder/gradlew
175159
- name: Print Gradle version
176160
working-directory: intellij-aicoder
177-
run: ../gradlew --version
161+
run: ./gradlew --version
178162

179163
- name: Run Tests
180164
working-directory: intellij-aicoder
181165
run: |
182166
echo "Starting test execution..."
183-
../gradlew check --info
167+
./gradlew check --info
184168
echo "Test execution completed"
185169
186170
- name: Collect Tests Result
@@ -239,7 +223,7 @@ jobs:
239223
run: chmod +x ./gradlew
240224
- name: Print Gradle version
241225
working-directory: intellij-aicoder
242-
run: ../gradlew --version
226+
run: ./gradlew --version
243227

244228
- name: Setup Plugin Verifier IDEs Cache
245229
uses: actions/cache@v4
@@ -249,7 +233,7 @@ jobs:
249233

250234
- name: Run Plugin Verification tasks
251235
working-directory: intellij-aicoder
252-
run: ../gradlew verifyPlugin
236+
run: ./gradlew verifyPlugin
253237

254238
- name: Collect Plugin Verifier Result
255239
if: ${{ always() }}
@@ -310,7 +294,7 @@ jobs:
310294
run: chmod +x ./gradlew
311295
- name: Print Gradle version
312296
working-directory: intellij-aicoder
313-
run: ../gradlew --version
297+
run: ./gradlew --version
314298

315299
- name: Remove Old Release Drafts
316300
env:

0 commit comments

Comments
 (0)