File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,18 @@ jobs:
43
43
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
44
44
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
45
45
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
46
+
46
47
- name : Build
47
- run : ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} verify
48
+ # Note: build separately first using default kotlin-core
49
+ run : ./mvnw -B -q -ff -ntp -DskipTests clean package
50
+ - name : Test
51
+ # Note: actual testing should use matrix kotlin-core version (note: MUST specify test phase)
52
+ run : ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} surefire:test
48
53
- name : Extract project Maven version
49
54
id : projectVersion
50
55
run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
51
56
- name : Deploy snapshot
52
- if : github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.6.21 ' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
57
+ if : github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.5.32 ' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
53
58
env :
54
59
CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
55
60
CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments