Skip to content

Commit

Permalink
fix(ci-cd): Improve CI:CD
Browse files Browse the repository at this point in the history
Signed-off-by: Myzel394 <[email protected]>
  • Loading branch information
Myzel394 committed May 3, 2024
1 parent 42f06c6 commit 7d949fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/actions/prepare-keystore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ runs:
using: composite
steps:
- name: Write Keystore file 🗄️
id: android_keystore
uses: timheuer/[email protected]
with:
fileName: key.jks
encodedString: ${{ inputs.keyStoreBase64 }}
shell: bash
run: echo "${{ inputs.keyStoreBase64 }}" | base64 -d > /home/runner/key.jks

- name: Write Keystore properties 🗝️
run: |
echo "storeFile=${{ steps.android_keystore.outputs.filePath }}" > key.properties
echo "storeFile=/home/runner/key.jks" > key.properties
echo "storePassword=${{ inputs.signingStorePassword }}" >> key.properties
echo "keyPassword=${{ inputs.signingKeyPassword }}" >> key.properties
echo "keyAlias=${{ inputs.signingKeyAlias }}" >> key.properties
6 changes: 3 additions & 3 deletions .github/workflows/release-app-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ jobs:
- name: Build APKs 📱
run: ./gradlew assembleRelease

- name: Build AABs 📱
run: ./gradlew bundleRelease

- name: Upload APKs 🚀
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -43,6 +40,9 @@ jobs:
with:
files: app/build/outputs/apk/release/*.apk

- name: Build AABs 📱
run: ./gradlew bundleRelease

- name: Upload APKs bundles 🚀
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 7d949fc

Please sign in to comment.