Project adaptation to work with external instrumentation runners #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Preintegration Checks" | |
on: | |
pull_request: | |
jobs: | |
release: | |
runs-on: [ self-hosted-org, linux ] | |
container: | |
image: docker://docker.tuenti.io/android/novum_android:8 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Release library and plugin | |
env: | |
MOBILE_MAVENCENTRAL_USER: ${{ secrets.MOBILE_MAVENCENTRAL_USER }} | |
MOBILE_MAVENCENTRAL_PASSWORD: ${{ secrets.MOBILE_MAVENCENTRAL_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} | |
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }} | |
NEXUS_USER: ${{ secrets.NEXUS_RELEASE_USER }} | |
NEXUS_PASS: ${{ secrets.NEXUS_RELEASE_PASSWORD }} | |
run: | | |
./gradlew publishReleasePublicationToMavenRepository -DLIBRARY_VERSION=0.0.7 | |
cd include-build | |
../gradlew publishGradlePluginPublicationToMavenRepository -DLIBRARY_VERSION=0.0.7 |