Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroHeavenVN committed Jun 16, 2024
1 parent ccb9d11 commit 4d697a4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<sub>**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.**</sub>

- 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).
13 changes: 12 additions & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<sub>**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.**</sub>

- 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).

0 comments on commit 4d697a4

Please sign in to comment.