Skip to content

Commit

Permalink
chore: added keystore to script
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Apr 9, 2024
1 parent fb07707 commit 2cb0d05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ on:
required: true
firebase-app-id:
required: true
firebase-token:
required: true
relay-url:
description: 'WalletConnect Relay URL'
required: false
Expand All @@ -36,6 +34,8 @@ on:
required: true
secrets-file:
required: true
keystore:
required: true

jobs:
build:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- run: touch ${{ inputs.path }}/.env.${{ inputs.release-type }} && echo "ENV_PROJECT_ID=${{ secrets.project-id }}\nENV_RELAY_URL=${{ secrets.relay-url }}\nENV_SENTRY_DSN=${{ secrets.sentry-dns }}\nENV_SENTRY_TAG=${{ inputs.release-type }}" >> ${{ inputs.path }}/.env.${{ inputs.release-type }}
- run: touch ${{ inputs.path }}/android/sentry.properties && echo "${{ secrets.sentry-file }}" >> ${{ inputs.path }}/android/sentry.properties
- run: touch ${{ inputs.path }}/android/secrets.properties && echo "${{ secrets.secrets-file }}" >> ${{ inputs.path }}/android/secrets.properties
- run: touch ${{ inputs.path }}/android/app/${{ secrets.WC_INTERNAL_KEYSTORE_NAME }}.keystore && echo "${{ secrets.WC_INTERNAL_KEYSTORE }}" >> ${{ inputs.path }}/android/app/${{ secrets.WC_INTERNAL_KEYSTORE_NAME }}.keystore

- name: Build APK
run: cd ${{ inputs.path }} && yarn install && yarn run android:build:internal
Expand All @@ -76,7 +76,7 @@ jobs:
uses: w9jds/setup-firebase@main
with:
tools-version: 13.0.1
firebase_token: ${{ secrets.firebase-token }}
firebase_token: ${{ secrets.FIREBASE_TOKEN }}

- name: Upload APK
env:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-dapp-internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ jobs:
sentry-dns: ${{ secrets.W3M_WAGMI_SENTRY_DSN }}
sentry-file: ${{ secrets.W3M_WAGMI_SENTRY_FILE }}
secrets-file: ${{ secrets.W3M_WAGMI_ANDROID_SECRETS }}
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
firebase-app-id: ${{ secrets.W3M_WAGMI_ANDROID_INTERNAL_FIREBASE_APP_ID }}

0 comments on commit 2cb0d05

Please sign in to comment.