Skip to content

Bump rustls from 0.23.15 to 0.23.18 #48

Bump rustls from 0.23.15 to 0.23.18

Bump rustls from 0.23.15 to 0.23.18 #48

name: Build Android release
# This is triggered by merging a PR from a branch named release-*. This workflow builds and publishes the Android release artifacts
# to Maven Central.
on:
pull_request:
types:
- closed
jobs:
android:
if: github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release-')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: IronCoreLabs/rust-toolchain@v1
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: adopt
- run: sudo apt-get install -y clang
- name: Run build script
run: ./build-aar.sh
working-directory: android
- name: Decrypt PGP key
uses: IronCoreLabs/ironhide-actions/decrypt@v3
with:
keys: ${{ secrets.IRONHIDE_KEYS }}
input: .github/signing-key.asc.iron .github/auth.properties.iron
- name: Import PGP key
run: gpg --batch --import .github/signing-key.asc
- name: Export PGP signing key
run: gpg --export-secret-keys > /tmp/signing-key.gpg
- name: Upload AAR to Maven Central
run: |
./gradlew uploadArchives
./gradlew closeAndReleaseRepository
working-directory: android