From 4d697a4283d0bf1b79291514c47d3867c13821ef Mon Sep 17 00:00:00 2001 From: ElectroHeavenVN <98677996+ElectroHeavenVN@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:16:48 +0700 Subject: [PATCH] Update README --- README.md | 13 ++++++++++++- README_EN.md | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa3864a..9302bd2 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,18 @@ Có 2 phương pháp để tải xuống: + `ANDROID_KEYALIAS_PASS`: mật khẩu alias trong tệp keystore của bạn + (Tùy chọn) `DISCORD_WEBHOOK`: URL Webhook Discord để thông báo kết quả biên dịch -Tham khảo phần [Deploy to Google Play](https://game.ci/docs/github/deployment/android/) của [GameCI](https://game.ci/) để biết thêm thông tin về phần keystore của Android. + **Tham khảo phần [Deploy to Google Play](https://game.ci/docs/github/deployment/android/) của [GameCI](https://game.ci/) để biết thêm thông tin về phần keystore của Android.** + +- Kích hoạt workflow [`build.yml`](.github/workflows/build.yml) trong fork của bạn (nếu bạn muốn tự động biên dịch): + + Chọn workflow [Biên dịch QLTK và Game](../../actions/workflows/build.yml) + + Nhấn `Enable workflow` +- Chạy workflow [`selective-build.yml`](.github/workflows/selective-build.yml) (nếu bạn muốn chạy thủ công): + + Chọn workflow [Biên dịch QLTK và Game (selective)](../../actions/workflows/selective-build.yml) + + Nhấn `Run workflow` + + Chọn hộp kiểm và nhập đường dẫn webhook theo ý của bạn + + Nhấn `Run workflow` ở bên dưới + +Các workflow thường chạy trong khoảng 20 - 50 phút, tùy theo lượng code bạn sửa so với lần biên dịch trước đó. Lần chạy đầu tiên thường sẽ mất nhiều thời gian nhất. Sau khi workflow chạy xong, bạn có thể tải các `artifact` theo hướng dẫn trong phần [Tải xuống](#tải-xuống). --- #### Bạn có thắc mắc hay gặp phải vấn đề? Hãy cho tôi biết! Bạn có thể tạo issue tại đây hoặc yêu cầu trợ giúp trong [Server Discord](https://discord.gg/mYtgWabd33) của [pk9r327](https://github.com/pk9r327). \ No newline at end of file diff --git a/README_EN.md b/README_EN.md index 1e8efb2..18de2c5 100644 --- a/README_EN.md +++ b/README_EN.md @@ -39,7 +39,18 @@ To build the [Dragonboy](https://github.com/pk9r327/Dragonboy/tree/Unity-project + `ANDROID_KEYALIAS_PASS`: the alias password in your keystore file + (Optional) `DISCORD_WEBHOOK`: Discord Webhook URL for build result notifications -Refer to the [Deploy to Google Play](https://game.ci/docs/github/deployment/android/) section of [GameCI](https://game.ci/) for more information about Android keystore. + **Refer to the [Deploy to Google Play](https://game.ci/docs/github/deployment/android/) section of [GameCI](https://game.ci/) for more information about Android keystore.** + +- Activate [`build.yml`](.github/workflows/build.yml) in your fork (if you want to automate the build): + + Select workflow [Biên dịch QLTK và Game](../../actions/workflows/build.yml) + + Click `Enable workflow` +- Run [`selective-build.yml`](.github/workflows/selective-build.yml) (if you want to build manually): + + Select workflow [Biên dịch QLTK và Game (selective)](../../actions/workflows/selective-build.yml) + + Click `Run workflow` + + Select checkboxes and type in the webhook link according to your preferences + + Select `Run workflow` at the bottom + +Workflows usually run for about 20 - 50 minutes, depending on the amount of code you modified compared to the previous compilation. The first run will usually take the longest. Once the workflow has finished running, you can download the `artifacts` according to the guide in the [Download](#download) section. --- #### If you come across any issues, let me know! You can create an issue here or request help in [pk9r327](https://github.com/pk9r327)'s [Discord server](https://discord.gg/mYtgWabd33). \ No newline at end of file