Skip to content

Gradle plugin v4.0.3 #60

Gradle plugin v4.0.3

Gradle plugin v4.0.3 #60

name: Performance release deploy
on:
release:
types: [ published ]
jobs:
deploy-performance:
runs-on: ubuntu-latest
# Only run when the tag begins with the string "performance-"
if: ${{ startsWith(github.event.release.tag_name, 'performance-') }}
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_signingKey }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingPassword }}
strategy:
matrix:
node-version: [ 18.x ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Sanity check performance test
run: ./gradlew :performance:performance:test -Pandroid.useAndroidX=true
- name: Deploy performance
run: ./gradlew :performance:performance:publishReleasePublicationToSonatypeStagingRepository -Pandroid.useAndroidX=true