Skip to content

Commit 4667e30

Browse files
committed
Run check publication build task only on :tools:check-publication project
1 parent f0006c9 commit 4667e30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install dependencies
8282
run: sudo apt-get install nodejs chromium-browser
8383
- name: Check JVM, Android, JS publication
84-
run: ./gradlew build --info -Pcheck_publication=true -Pbuild_type=NON_NATIVE -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
84+
run: ./gradlew :tools:check-publication:build --info -Pcheck_publication=true -Pbuild_type=NON_NATIVE -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
8585
linux-check-publication:
8686
name: Check Linux publication
8787
runs-on: ubuntu-latest
@@ -94,7 +94,7 @@ jobs:
9494
with:
9595
java-version: 1.8
9696
- name: Check Linux publication
97-
run: ./gradlew build --info -Pcheck_publication=true -Pbuild_type=LINUX -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
97+
run: ./gradlew :tools:check-publication:build --info -Pcheck_publication=true -Pbuild_type=LINUX -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
9898
ios-check-publication:
9999
name: Check iOS publication
100100
runs-on: macos-latest
@@ -107,7 +107,7 @@ jobs:
107107
with:
108108
java-version: 1.8
109109
- name: Check iOS publication
110-
run: ./gradlew build --info -Pcheck_publication=true -Pbuild_type=IOS -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
110+
run: ./gradlew :tools:check-publication:build --info -Pcheck_publication=true -Pbuild_type=IOS -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
111111
macos-check-publication:
112112
name: Check macOS publication
113113
runs-on: macos-latest
@@ -120,4 +120,4 @@ jobs:
120120
with:
121121
java-version: 1.8
122122
- name: Check macOS publication
123-
run: ./gradlew build --info -Pcheck_publication=true -Pbuild_type=MAC_OS -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}
123+
run: ./gradlew :tools:check-publication:build --info -Pcheck_publication=true -Pbuild_type=MAC_OS -Pbintray_api_key=${{ secrets.BINTRAY_API_KEY }}

0 commit comments

Comments
 (0)