Skip to content

Commit

Permalink
Revert "[INJIMOB-990] add a job to set the client id and pass to reus…
Browse files Browse the repository at this point in the history
…able workflow (mosip#1348)"

This reverts commit 06fff78.
  • Loading branch information
swatigoel committed Apr 25, 2024
1 parent 386338b commit 7b90075
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 33 deletions.
Binary file added .github/keys/mosipgpgkey_pub.gpg
Binary file not shown.
Binary file added .github/keys/mosipgpgkey_sec.gpg
Binary file not shown.
18 changes: 0 additions & 18 deletions .github/scripts/set-google-clientid.sh

This file was deleted.

16 changes: 1 addition & 15 deletions .github/workflows/internal-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,8 @@ on:
- true

jobs:
set-client-id:
runs-on: ubuntu-latest
outputs:
CLIENT_ID: ${{ steps.client-id.outputs.CLIENT_ID }}
steps:
- name: Set Google client id
id: client-id
run:
cd .github/scripts
./set-google-clientid.sh "$INJI_FLAVOR"
env:
INJI_FLAVOR: ${{ github.event.inputs.injiFlavor }}

build-android:
if: ${{ inputs.buildFor == 'Both[Android and IOS]' || inputs.buildFor == 'Android'}}
needs: set-client-id
uses: mosip/kattu/.github/workflows/android-publish.yml@master
with:
RELEASE: ${{ inputs.release }}
Expand All @@ -119,7 +105,7 @@ jobs:
RELEASE_KEYSTORE_PASSWORD: '${{ secrets.INJI_ANDROID_RELEASE_STOREPASS }}'
INJI_ANDROID_PLAY_STORE_CONFIG_JSON: ${{ secrets.INJI_ANDROID_PLAY_STORE_CONFIG_JSON }}
SLACK_WEBHOOK_URL: '${{ secrets.SLACK_WEBHOOK_INJI_TEAM }}'
GOOGLE_ANDROID_CLIENT_ID: ${{ secrets[needs.set-client-id.outputs.CLIENT_ID] }}
GOOGLE_ANDROID_CLIENT_ID: ${{secrets.INJI_GOOGLE_CLIENT_ID}}

build-android-beta:
if: ${{ inputs.release == 'beta' && (inputs.buildFor == 'Both[Android and IOS]' || inputs.buildFor == 'Android') }}
Expand Down

0 comments on commit 7b90075

Please sign in to comment.