Skip to content

Commit 382d863

Browse files
committed
separating gradle build to different action
1 parent 202bb46 commit 382d863

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/publish_dev_version.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,21 @@ jobs:
5757
- name: Validate Gradle wrapper
5858
uses: gradle/wrapper-validation-action@v1
5959

60-
- name: Deploy to GH Packages with Gradle
60+
- name: Setup Gradle
6161
uses: gradle/gradle-build-action@v2
62-
with:
63-
arguments: |
64-
-Pspark=${{ matrix.spark }}
65-
-Pscala=${{ matrix.scala }}
66-
-PskipScalaTuplesInKotlin=${{ !(matrix.spark == '3.0.0' || matrix.scala == '2.13.8' && matrix.spark == '3.2.0') }}
67-
clean
68-
publishMavenPublicationToGitHubPackagesRepository
69-
--debug
70-
--scan
62+
63+
- name: Deploy to GH Packages with Gradle
7164
env:
7265
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
run: |
67+
./gradlew
68+
-Pspark=${{ matrix.spark }}
69+
-Pscala=${{ matrix.scala }}
70+
-PskipScalaTuplesInKotlin=${{ !(matrix.spark == '3.0.0' || matrix.scala == '2.13.8' && matrix.spark == '3.2.0') }}
71+
clean
72+
publishMavenPublicationToGitHubPackagesRepository
73+
--debug
74+
--scan
75+
7376
7477

0 commit comments

Comments
 (0)