release #11
This file contains 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: '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 | ||
jobs: | ||
release-documentscanner-android: | ||
uses: Akylas/app-tools/.github/workflows/release_android.yml@main | ||
Check failure on line 44 in .github/workflows/release.yml GitHub Actions / releaseInvalid workflow file
|
||
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 }} | ||
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 }} | ||
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 }} | ||
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 }} | ||
secrets: inherit |