This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Feature home screen UI #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gradle Build | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
run: ./gradlew assembleRelease | |
- name: Create artifacts directory | |
run: mkdir -p ${{ github.workspace }}/artifacts | |
- name: Copy APK to artifacts directory | |
run: cp app/build/outputs/apk/release/app-release-unsigned.apk ${{ github.workspace }}/artifacts/ | |
- name: Archive build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-release-unsigned.apk | |
path: ${{ github.workspace }}/artifacts/ |