Add apk to releases

This commit is contained in:
Zoe Roux 2023-06-06 11:08:22 +09:00
parent 206466f9cc
commit 2c59dddca0
3 changed files with 13 additions and 4 deletions

View File

@ -4,6 +4,8 @@ on:
branches: branches:
- master - master
- next - next
tags:
- v*
pull_request: pull_request:
jobs: jobs:
@ -58,3 +60,11 @@ jobs:
with: with:
name: kyoo.apk name: kyoo.apk
path: ./front/kyoo.apk path: ./front/kyoo.apk
- name: Upload release artifacts
uses: Roang-zero1/github-upload-release-artifacts-action@v2
if: startsWith(github.ref, 'refs/tags/')
with:
args: ./front/kyoo.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,9 +1,8 @@
name: Native update name: Native update
on: on:
push: push:
branches: tags:
- master - v*
- next
jobs: jobs:
update: update:

View File

@ -50,7 +50,7 @@ const config = {
supportsTablet: true, supportsTablet: true,
}, },
android: { android: {
package: IS_DEV ? "moe.sdg.kyoo.dev" : "moe.sdg.kyoo", package: IS_DEV ? "dev.zoriya.kyoo.dev" : "dev.zoriya.kyoo",
adaptiveIcon: { adaptiveIcon: {
foregroundImage: "./assets/icon.png", foregroundImage: "./assets/icon.png",
backgroundColor: "#eff1f5", backgroundColor: "#eff1f5",