mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +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
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Write Keystore file 🗄️
|
- name: Write Keystore file 🗄️
|
||||||
id: android_keystore
|
shell: bash
|
||||||
uses: timheuer/base64-to-file@v1.0.3
|
run: echo "${{ inputs.keyStoreBase64 }}" | base64 -d > /home/runner/key.jks
|
||||||
with:
|
|
||||||
fileName: key.jks
|
|
||||||
encodedString: ${{ inputs.keyStoreBase64 }}
|
|
||||||
|
|
||||||
- name: Write Keystore properties 🗝️
|
- name: Write Keystore properties 🗝️
|
||||||
run: |
|
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 "storePassword=${{ inputs.signingStorePassword }}" >> key.properties
|
||||||
echo "keyPassword=${{ inputs.signingKeyPassword }}" >> key.properties
|
echo "keyPassword=${{ inputs.signingKeyPassword }}" >> key.properties
|
||||||
echo "keyAlias=${{ inputs.signingKeyAlias }}" >> 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 📱
|
- name: Build APKs 📱
|
||||||
run: ./gradlew assembleRelease
|
run: ./gradlew assembleRelease
|
||||||
|
|
||||||
- name: Build AABs 📱
|
|
||||||
run: ./gradlew bundleRelease
|
|
||||||
|
|
||||||
- name: Upload APKs 🚀
|
- name: Upload APKs 🚀
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
@ -43,6 +40,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: app/build/outputs/apk/release/*.apk
|
files: app/build/outputs/apk/release/*.apk
|
||||||
|
|
||||||
|
- name: Build AABs 📱
|
||||||
|
run: ./gradlew bundleRelease
|
||||||
|
|
||||||
- name: Upload APKs bundles 🚀
|
- name: Upload APKs bundles 🚀
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user