Skip to content

release

release #70

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: true
type: boolean
android:
description: 'Android'
required: true
default: true
type: boolean
publish:
description: "Should we publish?"
required: true
type: boolean
default: true
github:
description: "Should we publish on Github?"
default: true
required: true
type: boolean
sentry:
description: "Should we use sentry?"
default: true
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 }}
github: ${{ github.event.inputs.github }}
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 }}
github: ${{ github.event.inputs.github }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit
release-documentscanner-ios:
uses: Akylas/app-tools/.github/workflows/release_ios.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 }}
github: ${{ github.event.inputs.github }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit
release-cardwallet-ios:
uses: Akylas/app-tools/.github/workflows/release_ios.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 }}
github: ${{ github.event.inputs.github }}
sentry: ${{ github.event.inputs.sentry }}
secrets: inherit