Skip to content

Commit

Permalink
updated gen apk action and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Feb 9, 2024
1 parent 3e28f55 commit 52346c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/gen-android-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate Android APK

env:
main_project_module: app
playstore_name: SpaceX
app_name: space-x-api-android

on:
# Allows you to run this workflow manually from the Actions tab
Expand Down Expand Up @@ -45,12 +45,14 @@ jobs:
- name: Upload Release Build to Artifacts
uses: actions/upload-artifact@v4
with:
name: release-artifacts
paths: app/build/outputs/apk/debug
name: ${{ env.app_name }}
path: app/build/outputs/apk/debug

- name: Create Github Release
uses: softprops/action-gh-release@v1
uses: xresloader/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
generate_release_notes: true
prerelease: true
files: app/build/outputs/apk/debug/app-debug.apk
file: app/build/outputs/apk/debug/*.apk
tags: false
draft: false
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

An Offline first Android app to consume the SpaceX Backend API [`https://github.com/r-spacex/SpaceX-API`](https://github.com/r-spacex/SpaceX-API).

---
[![Unit Tests](https://github.com/nisrulz/android-spacex-app/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/nisrulz/android-spacex-app/actions/workflows/run-tests.yml) [![Validate Gradle Wrapper](https://github.com/nisrulz/android-spacex-app/actions/workflows/validate-gradlew.yml/badge.svg)](https://github.com/nisrulz/android-spacex-app/actions/workflows/validate-gradlew.yml) [![Generate Android APK](https://github.com/nisrulz/android-spacex-app/actions/workflows/gen-android-apk.yml/badge.svg)](https://github.com/nisrulz/android-spacex-app/actions/workflows/gen-android-apk.yml)

![Screenshot](./repo_assets/screenshot.png)

> \[!IMPORTANT]
Expand Down

0 comments on commit 52346c8

Please sign in to comment.