-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13074a0
commit d120222
Showing
20 changed files
with
111 additions
and
4 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 |
---|---|---|
|
@@ -42,19 +42,19 @@ jobs: | |
run: chmod +x ./gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew assembleDebug -Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/key.keystore -Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PASSWORD }} -Pandroid.injected.signing.key.alias=${{ secrets.KEY_ALIAS }} -Pandroid.injected.signing.key.password=${{ secrets.KEY_PASSWORD }} | ||
run: ./gradlew assembleAlpha -Pandroid.injected.signing.store.file=$GITHUB_WORKSPACE/key.keystore -Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PASSWORD }} -Pandroid.injected.signing.key.alias=${{ secrets.KEY_ALIAS }} -Pandroid.injected.signing.key.password=${{ secrets.KEY_PASSWORD }} | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: Dantotsu | ||
path: "app/build/outputs/apk/debug/app-debug.apk" | ||
path: "app/build/outputs/apk/alpha/app-alpha.apk" | ||
|
||
- name: Upload APK to Discord | ||
shell: bash | ||
run: | | ||
contentbody=$( jq -Rsa . <<< "${{ github.event.head_commit.message }}" ) | ||
curl -F "payload_json={\"content\":\" Debug-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/debug/app-debug.apk" ${{ secrets.DISCORD_WEBHOOK }} | ||
curl -F "payload_json={\"content\":\" Alpha-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/debug/app-debug.apk" ${{ secrets.DISCORD_WEBHOOK }} | ||
- name: Delete Old Pre-Releases | ||
id: delete-pre-releases | ||
|
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,20 @@ | ||
{ | ||
"version": 3, | ||
"artifactType": { | ||
"type": "APK", | ||
"kind": "Directory" | ||
}, | ||
"applicationId": "ani.dantotsu.alpha", | ||
"variantName": "alpha", | ||
"elements": [ | ||
{ | ||
"type": "SINGLE", | ||
"filters": [], | ||
"attributes": [], | ||
"versionCode": 28450261, | ||
"versionName": "2.1.0-alpha01", | ||
"outputFile": "app-alpha.apk" | ||
} | ||
], | ||
"elementType": "File" | ||
} |
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
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">Dantotsu α</string> | ||
</resources> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
app/src/main/res/drawable/ic_launcher_alpha_background.xml
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,25 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="108dp" | ||
android:height="108dp" | ||
android:viewportWidth="768" | ||
android:viewportHeight="768"> | ||
<group> | ||
<clip-path | ||
android:pathData="M125.71,125.71h516.58v516.58h-516.58z"/> | ||
<path | ||
android:pathData="M123.53,128.02h512v511.96h-512z" | ||
android:fillColor="#e5d8a4"/> | ||
<path | ||
android:pathData="m117.58,129.49v335.26c23.32,3.7 47.23,5.63 71.58,5.63 211.59,0 389.34,-144.9 439.43,-340.89H117.58Z" | ||
android:fillColor="#ff9f00"/> | ||
<path | ||
android:pathData="M384,384m-172.26,0a172.26,172.26 0,1 1,344.52 0a172.26,172.26 0,1 1,-344.52 0" | ||
android:fillColor="#f0ca67"/> | ||
<path | ||
android:pathData="m384,211.74c-95.13,0 -172.26,77.12 -172.26,172.26 0,24.51 5.13,47.83 14.37,68.93 89.21,-7.3 172.93,-33.96 246.97,-75.77 24.85,-18.81 47.7,-40.12 68.18,-63.56 -26.92,-60.04 -87.2,-101.86 -157.25,-101.86Z" | ||
android:fillColor="#ffa900"/> | ||
<path | ||
android:pathData="m534.81,128.01c-35.57,189.07 -201.56,332.12 -400.97,332.12 -3.45,0 -6.89,-0.06 -10.31,-0.14v5.75c40.23,10.46 82.43,16.05 125.93,16.05 155.6,0 294.55,-71.23 386.07,-182.84V128.02h-100.72z" | ||
android:fillColor="#ffb400"/> | ||
</group> | ||
</vector> |
22 changes: 22 additions & 0 deletions
22
app/src/main/res/drawable/ic_launcher_alpha_foreground.xml
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,22 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="108dp" | ||
android:height="108dp" | ||
android:viewportWidth="768" | ||
android:viewportHeight="768"> | ||
<group> | ||
<clip-path | ||
android:pathData="M642.29,125.71l-516.58,0l-0,516.58l516.58,0z"/> | ||
<path | ||
android:pathData="m723.74,128c-0,46.25 -37.49,83.74 -83.74,83.74l-256,0c-95.13,0 -172.26,77.12 -172.26,172.26l-0,0c-0,95.13 77.12,172.26 172.26,172.26L640,556.26c46.24,0 83.72,37.47 83.74,83.71L0,639.97L0,128Z" | ||
android:strokeWidth="0" | ||
android:fillColor="#1f1f30"/> | ||
<path | ||
android:pathData="m286.18,384l-0,0c-0,54.03 43.8,97.82 97.82,97.82L768,481.82L768,286.18l-384,0c-54.02,0 -97.82,43.8 -97.82,97.82z" | ||
android:strokeWidth="0" | ||
android:fillColor="#1f1f30"/> | ||
<path | ||
android:pathData="m431.99,366.7 l-76.02,-43.89c-13.32,-7.69 -29.96,1.92 -29.96,17.3l-0,87.78c-0,15.38 16.65,24.99 29.96,17.3l76.02,-43.89c13.32,-7.69 13.32,-26.91 -0,-34.6z" | ||
android:strokeWidth="0" | ||
android:fillColor="#efe7ff"/> | ||
</group> | ||
</vector> |
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@drawable/ic_launcher_alpha_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_alpha_foreground"/> | ||
</adaptive-icon> |
5 changes: 5 additions & 0 deletions
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_alpha_round.xml
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@drawable/ic_launcher_alpha_background"/> | ||
<foreground android:drawable="@drawable/ic_launcher_alpha_foreground"/> | ||
</adaptive-icon> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.