diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 7b1817b7..d1cf2f0e 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -4,6 +4,8 @@ on: branches: - master - next + tags: + - v* pull_request: jobs: @@ -58,3 +60,11 @@ jobs: with: name: 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 }} diff --git a/.github/workflows/native-update.yml b/.github/workflows/native-update.yml index 3eb3e720..640a529b 100644 --- a/.github/workflows/native-update.yml +++ b/.github/workflows/native-update.yml @@ -1,9 +1,8 @@ name: Native update on: push: - branches: - - master - - next + tags: + - v* jobs: update: diff --git a/front/apps/mobile/app.config.js b/front/apps/mobile/app.config.js index ae1d5ea7..fe80b14e 100644 --- a/front/apps/mobile/app.config.js +++ b/front/apps/mobile/app.config.js @@ -50,7 +50,7 @@ const config = { supportsTablet: true, }, android: { - package: IS_DEV ? "moe.sdg.kyoo.dev" : "moe.sdg.kyoo", + package: IS_DEV ? "dev.zoriya.kyoo.dev" : "dev.zoriya.kyoo", adaptiveIcon: { foregroundImage: "./assets/icon.png", backgroundColor: "#eff1f5",