This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Finally a README that is just as useless as your godess. - Add github action configuration file "build_on_commit.yml". - Fix gitlab CI configuration not setting NDK properly. Though the project's not using it, just leave the config there to shine the config just like explosion skill of Megumin.
- Loading branch information
1 parent
3a4843c
commit f6c3613
Showing
5 changed files
with
97 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build on commit | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: Build and sign apk | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout commit | ||
uses: actions/checkout@v2 | ||
- name: Setup signing information | ||
env: | ||
KEY_FILE: ${{ secrets.signingKeyBase64 }} | ||
run: echo "$KEY_FILE" | openssl base64 -d > signingKey.jks | ||
- name: Build release apk | ||
env: | ||
KEY_STORE_PWD: ${{ secrets.keyStorePassword }} | ||
KEY_ALIAS: ${{ secrets.alias }} | ||
KEY_PWD: ${{ secrets.keyPassword }} | ||
uses: vgaidarji/[email protected] | ||
with: | ||
args: "./gradlew signingReport && ./gradlew :app:assembleRelease --stacktrace" | ||
- name: Cleanup signing information | ||
run: rm signingKey.jks | ||
- name: Get version code and name | ||
run: | | ||
echo "::set-env name=VER_CODE::$(cat app/build/outputs/apk/release/output.json | tr ',' '\n' | grep versionCode | cut -d: -f2)" && \ | ||
echo "::set-env name=VER_NAME::$(cat app/build/outputs/apk/release/output.json | tr ',' '\n' | grep versionName | cut -d: -f2 | tr -d \")" | ||
- name: Copy release apk and mapping | ||
run: | | ||
mkdir -p artifacts${{ env.VER_CODE }}v${{ env.VER_NAME }} && \ | ||
cp -r app/build/outputs/* artifacts${{ env.VER_CODE }}v${{ env.VER_NAME }}/ | ||
- name: Upload artifacts ${{ env.VER_CODE }}v${{ env.VER_NAME }} | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: artifacts${{ env.VER_CODE }}v${{ env.VER_NAME }} | ||
path: artifacts${{ env.VER_CODE }}v${{ env.VER_NAME }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[](https://gitpod.io/#https://github.com/InNoobWeTrust/KINTAMAnga) | ||
|
||
[](https://gitpod.io/#https://github.com/InNoobWeTrust/KINTAMAnga) | ||
|
||
# KINTAMAnga - a manga crawler and reader | ||
|
||
Wonder why there is sudden lowercase in last 3 characters in the name? | ||
Read Gintama and you will know the meaning of the first capitalized characters. | ||
|
||
## Status | ||
|
||
Nearly abandoned due to low interest in native Android developement. | ||
Kotlin is great and it helps much but Android's suck. | ||
|
||
My vision is all about Flutter or PWA. | ||
And if PWA, hopefully can do resource-consuming things by WASM, loving Rust currently but still a noob. | ||
|
||
## Install | ||
|
||
Download from [release](https://github.com/InNoobWeTrust/KINTAMAnga/releases) page. | ||
|
||
## Building | ||
|
||
Please see [github actions for this repo and follow](./.github/workflows/) | ||
|
||
## Contributing | ||
|
||
Not welcoming! Kidding, you are welcome to contribute but I won't be very active on this repo anymore. | ||
|
||
You need some knowledge about Kotlin or alternatively how to use search engines and stackoverflow. | ||
|
||
Knowledge about Android should be good, but if you don't, just messing around until it compiles. | ||
|
||
And no, no Java here, we don't do that here, Kotlin or quit game. I can do Java but I don't like it. | ||
|
||
If you want to mess this repo by integrating React-native, NativeScript, Xamarin, Ionic, Qt, Beeware, Jasonelle, Love (Lua), etc... be sure to do it properly. | ||
|
||
 | ||
|
||
Flutter integration PRs are more than welcome! 😘 |
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
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