Skip to content

Commit 5aa59e7

Browse files
sbouchetadietish
authored andcommittedJan 30, 2025
chore: use recommended IDEs when verifying plugin
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 11ea4c1 commit 5aa59e7

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed
 

‎.github/workflows/IJ.yml

+29-22
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,32 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
18-
- name: Set up JDK 17
19-
uses: actions/setup-java@v4
20-
with:
21-
java-version: 17
22-
distribution: 'temurin'
23-
cache: 'gradle'
24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
26-
- name: Build with Gradle
27-
run: ./gradlew build
28-
- name: Validate with Gradle
29-
run: |
30-
./gradlew verifyPlugin
31-
REPORTS=$(cat ${{ github.workspace }}/build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
32-
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
33-
- name: Upload report
34-
uses: actions/upload-artifact@v4
35-
if: always()
36-
with:
37-
name: ${{ matrix.IJ }}-verifier-report
38-
path: build/reports/pluginVerifier
17+
# Free GitHub Actions Environment Disk Space
18+
- name: Maximize Build Space
19+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # main
20+
with:
21+
tool-cache: false
22+
large-packages: false
23+
24+
- uses: actions/checkout@v4
25+
- name: Set up JDK 17
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: 17
29+
distribution: 'temurin'
30+
cache: 'gradle'
31+
- name: Grant execute permission for gradlew
32+
run: chmod +x gradlew
33+
- name: Build with Gradle
34+
run: ./gradlew build
35+
- name: Validate with Gradle
36+
run: |
37+
./gradlew verifyPlugin
38+
REPORTS=$(cat ${{ github.workspace }}/build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
39+
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
40+
- name: Upload report
41+
uses: actions/upload-artifact@v4
42+
if: always()
43+
with:
44+
name: ${{ matrix.IJ }}-verifier-report
45+
path: build/reports/pluginVerifier

0 commit comments

Comments
 (0)
Please sign in to comment.