Skip to content

Commit 6872682

Browse files
committed
Fix poopline
1 parent 70d801a commit 6872682

File tree

1 file changed

+3
-40
lines changed

1 file changed

+3
-40
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,17 @@ jobs:
4141
- name: Setup Java
4242
uses: actions/setup-java@v2
4343
with:
44-
java-version: 17
44+
java-version: 21
4545
distribution: 'zulu'
4646

4747
- name: Fetch Sources
4848
uses: actions/checkout@v2
4949

50-
- name: Setup Gradle Dependencies Cache
51-
uses: actions/cache@v2.1.4
52-
with:
53-
path: ~/.gradle/caches
54-
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
55-
56-
- name: Setup Gradle Wrapper Cache
57-
uses: actions/cache@v2.1.4
58-
with:
59-
path: ~/.gradle/wrapper
60-
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
61-
6250
- name: Run Linters and Test
6351
run: ./gradlew check
6452

6553
- name: Verify Plugin
66-
run: ./gradlew verifyPlugin
54+
run: ./gradlew runPluginVerifier
6755

6856
# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs
6957
# Requires test job to be passed
@@ -80,37 +68,12 @@ jobs:
8068
- name: Setup Java
8169
uses: actions/setup-java@v2
8270
with:
83-
java-version: 17
71+
java-version: 21
8472
distribution: 'zulu'
8573

8674
- name: Fetch Sources
8775
uses: actions/checkout@v2
8876

89-
- name: Setup Gradle Dependencies Cache
90-
uses: actions/cache@v2.1.4
91-
with:
92-
path: ~/.gradle/caches
93-
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
94-
95-
- name: Setup Gradle Wrapper Cache
96-
uses: actions/cache@v2.1.4
97-
with:
98-
path: ~/.gradle/wrapper
99-
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
100-
101-
- name: Set environment variables
102-
id: properties
103-
shell: bash
104-
run: |
105-
PROPERTIES="$(./gradlew properties --console=plain -q)"
106-
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
107-
NAME="$(echo "$PROPERTIES" | grep "^pluginName_:" | cut -f2- -d ' ')"
108-
ARTIFACT="${NAME}-${VERSION}.zip"
109-
110-
echo "::set-output name=version::$VERSION"
111-
echo "::set-output name=name::$NAME"
112-
echo "::set-output name=artifact::$ARTIFACT"
113-
11477
- name: Build Plugin
11578
run: ./gradlew buildPlugin
11679

0 commit comments

Comments
 (0)