Skip to content

Commit

Permalink
- Updated Secret names in multi-platform-build-and-publish workflow
Browse files Browse the repository at this point in the history
- Added more required secrets for Windows, macOS, and Linux signing.
- Removed Workflow Usage Example section.
  • Loading branch information
niyajali committed Dec 17, 2024
1 parent ffdf99d commit cffe820
Showing 1 changed file with 36 additions and 75 deletions.
111 changes: 36 additions & 75 deletions .github/workflows/multi-platform-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,42 @@
#
# REQUIRED SECRETS:
# Configure the following secrets in GitHub repository settings:
# - ORIGINAL_KEYSTORE_FILE: Base64 encoded Android release keystore
# - ORIGINAL_KEYSTORE_FILE_PASSWORD: Keystore password
# - ORIGINAL_KEYSTORE_ALIAS: Keystore alias
# - ORIGINAL_KEYSTORE_ALIAS_PASSWORD: Keystore alias password
# - upload_keystore_file: Base64 encoded Android release keystore
# - upload_keystore_file_password: Keystore password
# - upload_keystore_alias: Keystore alias
# - upload_keystore_alias_password: Keystore alias password
#
# Android-related secrets:
# - original_keystore_file: Base64 encoded Android release keystore
# - original_keystore_file_password: Keystore password
# - original_keystore_alias: Keystore alias
# - original_keystore_alias_password: Keystore alias password
# - upload_keystore_file: Base64 encoded Android upload keystore
# - upload_keystore_file_password: Upload keystore password
# - upload_keystore_alias: Upload keystore alias
# - upload_keystore_alias_password: Upload keystore alias password
#
# Google and Firebase credentials:
# - google_services: Google Services configuration JSON
# - playstore_creds: Play Store service account credentials
# - firebase_creds: Firebase distribution credentials
# - NOTARIZATION_APPLE_ID: Apple ID for macOS app notarization
# - NOTARIZATION_PASSWORD: Notarization password
# - NOTARIZATION_TEAM_ID: Apple developer team ID
# - github_token: GitHub token for repository access
#
# Apple-related secrets:
# - notarization_apple_id: Apple ID for macOS app notarization
# - notarization_password: Notarization password
# - notarization_team_id: Apple developer team ID
#
# Windows signing secrets:
# - windows_signing_key: Windows app signing key
# - windows_signing_password: Windows app signing password
# - windows_signing_certificate: Windows app signing certificate
#
# macOS signing secrets:
# - macos_signing_key: macOS app signing key
# - macos_signing_password: macOS app signing password
# - macos_signing_certificate: macOS app signing certificate
#
# Linux signing secrets:
# - linux_signing_key: Linux app signing key
# - linux_signing_password: Linux app signing password
# - linux_signing_certificate: Linux app signing certificate

# WORKFLOW INPUTS:
# - release_type: 'internal' (default) or 'beta'
Expand All @@ -54,70 +76,6 @@
# - Requires Fastlane and specific project structure
# - Assumes Kotlin Multiplatform or similar cross-platform setup

## Workflow Usage Example
# ```yaml
# name: Multi-Platform(Re-Usable) App Build and Publish
# on:
# workflow_dispatch:
# inputs:
# release_type:
# type: choice
# options:
# - internal
# - beta
# default: internal
# description: Release Type
# target_branch:
# type: string
# default: 'dev'
# description: 'Target branch for release'
# publish_android:
# type: boolean
# default: false
# description: Publish Android App On Play Store
# publish_ios:
# type: boolean
# default: false
# description: Publish iOS App On App Store
# publish_desktop:
# type: boolean
# default: false
# description: Publish Desktop Apps On App Store
# publish_web:
# type: boolean
# default: true
# description: Publish Web App
# build_ios:
# type: boolean
# default: false
# description: Build iOS App
# permissions:
# contents: write
# id-token: write
# pages: write
# concurrency:
# group: "reusable"
# cancel-in-progress: false
# jobs:
# multi_platform_build_and_publish:
# name: Multi-Platform Build and Publish
# uses: openMF/mifos-mobile-github-actions/.github/workflows/multi-platform-build-and-publish.yaml@main
# secrets: inherit
# with:
# android_package_name: 'mifospay-android'
# ios_package_name: 'mifospay-ios'
# desktop_package_name: 'mifospay-desktop'
# web_package_name: 'mifospay-web'
# release_type: ${{ inputs.release_type }}
# target_branch: ${{ inputs.target_branch }}
# publish_android: ${{ inputs.publish_android }}
# build_ios: ${{ inputs.build_ios }}
# publish_ios: ${{ inputs.publish_ios }}
# publish_desktop: ${{ inputs.publish_desktop }}
# publish_web: ${{ inputs.publish_web }}
# ```


name: Multi-Platform App Build and Publish

on:
Expand Down Expand Up @@ -220,6 +178,9 @@ on:
firebase_creds:
description: 'Firebase distribution credentials'
required: false
github_token:
description: 'Github Token'
required: false

# Apple-related secrets
notarization_apple_id:
Expand Down

0 comments on commit cffe820

Please sign in to comment.