Skip to content

Commit

Permalink
Create Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsfitts committed Aug 19, 2024
1 parent fd83242 commit 77e1424
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Release App Bundle

on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: 'keystore/itsSigned.keystore'
encodedString: ${{ secrets.KEYSTORE }}
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: build prod
run: ./gradlew app:assembleRelease
env:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Build Artifacts
path: app/build/outputs/

0 comments on commit 77e1424

Please sign in to comment.