Skip to content

release

release #29

Workflow file for this run

name: 'release'
on:
workflow_dispatch:
inputs:
release_type:
type: choice
default: patch
description: What kind of version upgrade
options:
- none
- code
- patch
- minor
- major
documentscanner:
description: 'Release DocumentScanner'
required: true
default: true
type: boolean
cardwallet:
description: 'Release CardWallet'
required: true
default: false
type: boolean
ios:
description: 'iOS'
required: true
default: false
type: boolean
android:
description: 'Android'
required: true
default: true
type: boolean
publish:
description: "Should we publish?"
required: true
type: boolean
default: false
sentry:
description: "Should we use sentry?"
default: false
required: true
type: boolean
jobs:
release-documentscanner-android:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
if: github.event.inputs.android == 'true' && github.event.inputs.documentscanner == 'true'
with:
flavor: documentscanner
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit
release-cardwallet-android:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
if: github.event.inputs.android == 'true' && github.event.inputs.cardwallet == 'true'
with:
flavor: cardwallet
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit
release-documentscanner-ios:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
if: github.event.inputs.ios == 'true' && github.event.inputs.documentscanner == 'true'
with:
flavor: documentscanner
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit
release-cardwallet-ios:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
if: github.event.inputs.ios == 'true' && github.event.inputs.cardwallet == 'true'
with:
flavor: cardwallet
release_type: ${{ github.event.inputs.release_type }}
publish: ${{ github.event.inputs.publish }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit