Skip to content

Card: Remove try/catch from Approve Order Flow #1423

Card: Remove try/catch from Approve Order Flow

Card: Remove try/catch from Approve Order Flow #1423

Workflow file for this run

name: Build
on: [pull_request, workflow_dispatch]
concurrency:
group: build-${{ github.event.number }}
cancel-in-progress: true
jobs:
build_aar:
name: Build
runs-on: ubuntu-latest
env:
SIGNING_KEY_FILE_PATH: /home/runner/secretKey.gpg
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'microsoft'
#After decoding the secret key, place the file in ~ /. Gradle/ secring.gpg
- name: Decode Signing Key
uses: ./.github/actions/decode_signing_key_action
with:
signing_key_file: ${{ secrets.SIGNING_KEY_FILE }}
signing_file_path: ${{ env.SIGNING_KEY_FILE_PATH }}
- name: Assemble
run: ./gradlew --stacktrace assemble -x :Demo:assemble # we exclude Demo module in assemble
env:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_KEY_FILE: ${{ env.SIGNING_KEY_FILE_PATH }}