mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 14:55:26 +02:00
fix(ci-cd): Improve CI:CD
Signed-off-by: Myzel394 <50424412+Myzel394@users.noreply.github.com>
This commit is contained in:
parent
42f06c67bb
commit
7d949fc16c
9
.github/actions/prepare-keystore/action.yml
vendored
9
.github/actions/prepare-keystore/action.yml
vendored
@ -19,15 +19,12 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Write Keystore file 🗄️
|
||||
id: android_keystore
|
||||
uses: timheuer/base64-to-file@v1.0.3
|
||||
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
.github/workflows/release-app-github.yaml
vendored
6
.github/workflows/release-app-github.yaml
vendored
@ -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/')
|
||||
@ -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/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user