Skip to content

Commit

Permalink
Create android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ansehoon1999 authored Dec 3, 2023
1 parent 6fd36b1 commit 40a7373
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Android CI

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Generate Keystore file from Github Secrets
run: |
echo "$KEYSTORE" > ./keystore/keystore.b64
base64 -d -i ./keystore/keystore.b64 > ./Users/ansehun/Desktop/uliga/uliga_keystore
env:
KEYSTORE: ${{ secrets.APP_KEYSTORE_BASE64 }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

0 comments on commit 40a7373

Please sign in to comment.