Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release-appkit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Release AppKit
run-name: "AppKit - ${{ inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }} (${{ inputs.release-type }})"
run-name: "AppKit - ${{ inputs.platform == 'both' && '🍎 iOS & 🤖 Android' || inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }} (${{ inputs.release-type }})"

permissions:
id-token: write
Expand All @@ -13,6 +13,7 @@ on:
required: true
type: choice
options:
- both
- android
- ios
release-type:
Expand All @@ -30,7 +31,7 @@ on:

jobs:
release-android:
if: ${{ inputs.platform == 'android' }}
if: ${{ inputs.platform == 'android' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-android-base.yaml
with:
name: AppKit React Native
Expand All @@ -52,7 +53,7 @@ jobs:
firebase-url: ${{ inputs.release-type == 'internal' && vars.FIREBASE_APPKIT_INTERNAL_URL || vars.FIREBASE_APPKIT_PROD_URL }}

release-ios:
if: ${{ inputs.platform == 'ios' }}
if: ${{ inputs.platform == 'ios' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-ios-base.yaml
with:
name: AppKit React Native
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-pos-poc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Release Mobile POS (PoC)
run-name: "Mobile POS (PoC) - ${{ inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }}"
run-name: "Mobile POS (PoC) - ${{ inputs.platform == 'both' && '🍎 iOS & 🤖 Android' || inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }}"

permissions:
id-token: write
Expand All @@ -13,12 +13,13 @@ on:
required: true
type: choice
options:
- both
- android
- ios

jobs:
release-android:
if: ${{ inputs.platform == 'android' }}
if: ${{ inputs.platform == 'android' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-android-base.yaml
with:
name: '(PoC) Mobile POS React Native'
Expand All @@ -41,7 +42,7 @@ jobs:
firebase-url: ${{ vars.FIREBASE_POC_POS_URL }}

release-ios:
if: ${{ inputs.platform == 'ios' }}
if: ${{ inputs.platform == 'ios' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-ios-base.yaml
with:
name: '(PoC) Mobile POS React Native'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-pos.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Release Mobile POS
run-name: "Mobile POS - ${{ inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }}"
run-name: "Mobile POS - ${{ inputs.platform == 'both' && '🍎 iOS & 🤖 Android' || inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }}"

permissions:
id-token: write
Expand All @@ -13,6 +13,7 @@ on:
required: true
type: choice
options:
- both
- android
- ios
push:
Expand All @@ -21,7 +22,7 @@ on:

jobs:
release-android:
if: ${{ github.event_name == 'push' || inputs.platform == 'android' }}
if: ${{ github.event_name == 'push' || inputs.platform == 'android' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-android-base.yaml
with:
name: 'Mobile POS React Native'
Expand All @@ -44,7 +45,7 @@ jobs:
firebase-url: ${{ vars.FIREBASE_POS_URL }}

release-ios:
if: ${{ github.event_name != 'push' && inputs.platform == 'ios' }}
if: ${{ github.event_name != 'push' && (inputs.platform == 'ios' || inputs.platform == 'both') }}
uses: ./.github/workflows/release-ios-base.yaml
with:
name: 'Mobile POS React Native'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-walletkit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Release WalletKit
run-name: "WalletKit - ${{ inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }} (${{ inputs.release-type }})"
run-name: "WalletKit - ${{ inputs.platform == 'both' && '🍎 iOS & 🤖 Android' || inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }} (${{ inputs.release-type }})"

permissions:
id-token: write
Expand All @@ -13,6 +13,7 @@ on:
required: true
type: choice
options:
- both
- android
- ios
release-type:
Expand All @@ -30,7 +31,7 @@ on:

jobs:
release-android:
if: ${{ inputs.platform == 'android' }}
if: ${{ inputs.platform == 'android' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-android-base.yaml
with:
name: WalletKit React Native
Expand All @@ -52,7 +53,7 @@ jobs:
firebase-url: ${{ inputs.release-type == 'internal' && vars.FIREBASE_WALLETKIT_INTERNAL_URL || vars.FIREBASE_WALLETKIT_PROD_URL }}

release-ios:
if: ${{ inputs.platform == 'ios' }}
if: ${{ inputs.platform == 'ios' || inputs.platform == 'both' }}
uses: ./.github/workflows/release-ios-base.yaml
with:
name: WalletKit React Native
Expand Down