Skip to content

[add] watchOS support (#131) #52

[add] watchOS support (#131)

[add] watchOS support (#131) #52

Workflow file for this run

---
name: Run Gradle on Main
on:
push:
branches:
- master
- main
permissions: read-all
jobs:
publish:
name: Build and publish - SNAPSHOT
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Publish to MavenCentral
uses: gradle/gradle-build-action@v2
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
with:
arguments: publishAllPublicationsToSonatypeRepository --max-workers 1
- name: Upload allTests results
uses: actions/upload-artifact@v2.2.3
if: failure()
with:
name: allTests
path: ./**/build/reports/tests/allTests