Skip to content

Commit

Permalink
ci: build and upload apk
Browse files Browse the repository at this point in the history
  • Loading branch information
Surendrajat committed Feb 21, 2024
1 parent 6dfa2e8 commit d462e36
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci

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

jobs:
build:
runs-on: ubuntu-latest

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

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleRelease
- name: Upload the apk to artifacts
uses: actions/upload-artifact@v4
with:
path: app/build/outputs/apk/release/app-release.apk

0 comments on commit d462e36

Please sign in to comment.