Skip to content

Commit

Permalink
:cri11:
Browse files Browse the repository at this point in the history
  • Loading branch information
IndusAryan committed Jul 15, 2024
1 parent 2ce0b29 commit a9bcc5b
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,27 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Cache Gradle and wrapper
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}

- name: Debug Base64 String
run: |
echo "${{ secrets.SIGNING_KEY_STORE_BASE64 }}"
- name: Decode Keystore
run: |
chmod 600
echo "${{ secrets.SIGNING_KEY_STORE_BASE64 }}" | base64 --decode > "${{ secrets.SIGNING_KEY_STORE_PATH }}"
ls -l ${{ secrets.SIGNING_KEY_STORE_PATH }}
echo "${{ secrets.SIGNING_KEY_STORE_BASE64 }}" | base64 --decode > /tmp/keystore.jks
ls -l /tmp/keystore.jks
- name: Build Release apk
env:
SIGNING_KEY_STORE_PATH: ${{ secrets.SIGNING_KEY_STORE_PATH }}
SIGNING_KEY_STORE_PATH: /tmp/keystore.jks
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
run: ./gradlew assembleRelease

- name: Capture Gradle Output
run: ./gradlew assembleRelease --debug

- name: List files for debugging
run: ls -R app/build/outputs/apk/release/

Expand Down

0 comments on commit a9bcc5b

Please sign in to comment.