We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38bdf9b commit 24fd50eCopy full SHA for 24fd50e
.github/actions/deploy-ubuntu/action.yml
@@ -314,6 +314,12 @@ runs:
314
build-scan-terms-of-use-agree: "yes"
315
add-job-summary-as-pr-comment: on-failure
316
317
- - name: Build with Gradle
+ - name: Publish release
318
shell: bash
319
+ if: "github.event_name == 'release'"
320
+ run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache
321
+
322
+ - name: Publish snapshot
323
+ shell: bash
324
+ if: "github.event_name != 'release'"
325
run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --configure-on-demand --parallel --build-cache
0 commit comments