chore(ci): clean-up workflow_call inputs [skip ci]

This commit is contained in:
Jagandeep Brar
2022-04-02 10:59:30 -04:00
parent 3c88b5b4ab
commit ff8e209674
9 changed files with 8 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
name: '[Release] Android'
name: 'Build Android'
on:
workflow_call:

View File

@@ -1,4 +1,4 @@
name: '[Release] iOS'
name: 'Build iOS'
on:
workflow_call:

View File

@@ -1,4 +1,4 @@
name: '[Release] Linux'
name: 'Build Linux'
on:
workflow_call:

View File

@@ -1,4 +1,4 @@
name: '[Release] macOS'
name: 'Build macOS'
on:
workflow_call:

View File

@@ -1,4 +1,4 @@
name: '[Release] Web'
name: 'Build Web'
on:
workflow_call:

View File

@@ -2,17 +2,6 @@ name: Generate Files
on:
workflow_call:
inputs:
build_flavor:
required: true
type: string
build_number:
required: true
type: string
build_version:
required: true
type: string
secrets:
FIREBASE_OPTIONS:
required: true

View File

@@ -1,4 +1,4 @@
name: '[GitHub] Issues'
name: 'GitHub Issue Labels'
on:
issues:

View File

@@ -6,15 +6,9 @@ on:
build_flavor:
required: true
type: string
build_number:
required: true
type: string
build_title:
required: true
type: string
build_version:
required: true
type: string
secrets:
APPLE_ID:
@@ -101,7 +95,7 @@ jobs:
SUPPLY_JSON_KEY: ${{ github.workspace }}/.fastlane-android-auth.json
run: |
bundle install
bundle exec fastlane deploy track:${{ steps.channel.outputs.result }} aab:${{ github.workspace }}/output/LunaSea-Android.aab version_name:${{ github.sha }}
bundle exec fastlane deploy track:${{ steps.channel.outputs.result }} aab:${{ github.workspace }}/output/LunaSea-Android.aab version_name:${{ inputs.build_title }}
ios_app_store:
name: App Store (iOS)

View File

@@ -35,13 +35,9 @@ jobs:
ref: ${{ github.event.inputs.flavor }}
generate:
name: Generate Files
name: Generate
needs: [ prepare ]
uses: JagandeepBrar/LunaSea/.github/workflows/generate_files.yml@master
with:
build_flavor: ${{ needs.prepare.outputs.flavor }}
build_number: ${{ needs.prepare.outputs.number }}
build_version: ${{ needs.prepare.outputs.version }}
secrets:
FIREBASE_OPTIONS: ${{ secrets.FIREBASE_OPTIONS }}
@@ -119,9 +115,7 @@ jobs:
uses: JagandeepBrar/LunaSea/.github/workflows/publish.yml@master
with:
build_flavor: ${{ needs.prepare.outputs.flavor }}
build_number: ${{ needs.prepare.outputs.number }}
build_title: ${{ needs.prepare.outputs.title }}
build_version: ${{ needs.prepare.outputs.version }}
secrets:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ITC_TEAM_ID: ${{ secrets.APPLE_ITC_TEAM_ID }}