Added AzureDevOpsUtil and minor refactoring in IosCodesigning classes #29
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Test | |
| run: ./gradlew --info test | |
| publish-snapshot: | |
| needs: test | |
| runs-on: ubuntu-24.04 | |
| environment: | |
| name: snapshots | |
| url: https://central.sonatype.com/repository/maven-snapshots/ | |
| env: | |
| ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}} | |
| ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_PASSWORD}} | |
| ORG_GRADLE_PROJECT_signingPassword: ${{secrets.SIGNING_PASSWORD}} | |
| SIGNING_KEY: ${{secrets.SIGNING_KEY}} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Publish snapshot | |
| run: | | |
| ./gradlew --info :setupSigningKey | |
| ./gradlew --info assemble publishToSonatype |