Skip to content

Commit

Permalink
feat: adds spawn and customs
Browse files Browse the repository at this point in the history
* feat: add spawn and customs

* refactor: use latest releases
  • Loading branch information
QuantumMalice authored Oct 29, 2024
1 parent c71c98b commit d946f5a
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 20 deletions.
34 changes: 26 additions & 8 deletions qbox-lean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,12 @@ tasks:
ref: main
src: https://github.com/qbox-project/qbx_scoreboard

- action: download_github
dest: ./resources/[qbx]/qbx_adminmenu
ref: main
src: https://github.com/qbox-project/qbx_adminmenu
- action: download_file
path: ./tmp/qbx_adminmenu.zip
url: https://github.com/qbox-project/qbx_adminmenu/releases/latest/download/qbx_adminmenu.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_adminmenu.zip

- action: waste_time # prevent github throttling
seconds: 10
Expand All @@ -181,10 +183,12 @@ tasks:
- action: query_database
file: ./resources/[qbx]/qbx_vehicleshop/vehshop.sql

- action: download_github
dest: ./resources/[qbx]/qbx_hud
ref: main
src: https://github.com/qbox-project/qbx_hud
- action: download_file
path: ./tmp/qbx_hud.zip
url: https://github.com/qbox-project/qbx_hud/releases/latest/download/qbx_hud.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_hud.zip

- action: download_github
dest: ./resources/[qbx]/qbx_seatbelt
Expand Down Expand Up @@ -275,6 +279,20 @@ tasks:
ref: main
src: https://github.com/qbox-project/qbx_cityhall

- action: download_file
path: ./tmp/qbx_spawn.zip
url: https://github.com/qbox-project/qbx_spawn/releases/latest/download/qbx_spawn.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_spawn.zip

- action: download_file
path: ./tmp/qbx_customs.zip
url: https://github.com/qbox-project/qbx_customs/releases/latest/download/qbx_customs.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_customs.zip

- action: waste_time # prevent github throttling
seconds: 10

Expand Down
7 changes: 7 additions & 0 deletions qbox-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@ tasks:
dest: ./resources/[qbx]
src: ./tmp/qbx_spawn.zip

- action: download_file
path: ./tmp/qbx_customs.zip
url: https://github.com/qbox-project/qbx_customs/releases/latest/download/qbx_customs.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_customs.zip

# OX
- action: download_file
path: ./tmp/ox_lib.zip
Expand Down
37 changes: 25 additions & 12 deletions qbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,12 @@ tasks:
ref: main
src: https://github.com/qbox-project/qbx_scoreboard

- action: download_github
dest: ./resources/[qbx]/qbx_adminmenu
ref: main
src: https://github.com/qbox-project/qbx_adminmenu
- action: download_file
path: ./tmp/qbx_adminmenu.zip
url: https://github.com/qbox-project/qbx_adminmenu/releases/latest/download/qbx_adminmenu.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_adminmenu.zip

- action: waste_time # prevent github throttling
seconds: 10
Expand All @@ -211,10 +213,12 @@ tasks:
ref: main
src: https://github.com/qbox-project/qbx_houserobbery

- action: download_github
dest: ./resources/[qbx]/qbx_hud
ref: main
src: https://github.com/qbox-project/qbx_hud
- action: download_file
path: ./tmp/qbx_hud.zip
url: https://github.com/qbox-project/qbx_hud/releases/latest/download/qbx_hud.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_hud.zip

- action: download_github
dest: ./resources/[qbx]/qbx_seatbelt
Expand Down Expand Up @@ -314,10 +318,12 @@ tasks:
ref: main
src: https://github.com/qbox-project/qbx_storerobbery

- action: download_github
dest: ./resources/[qbx]/qbx_spawn
ref: main
src: https://github.com/qbox-project/qbx_spawn
- action: download_file
path: ./tmp/qbx_spawn.zip
url: https://github.com/qbox-project/qbx_spawn/releases/latest/download/qbx_spawn.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_spawn.zip

- action: download_file
path: ./tmp/qbx_smallresources.zip
Expand Down Expand Up @@ -437,6 +443,13 @@ tasks:
ref: main
src: https://github.com/Qbox-project/qbx_density

- action: download_file
path: ./tmp/qbx_customs.zip
url: https://github.com/qbox-project/qbx_customs/releases/latest/download/qbx_customs.zip
- action: unzip
dest: ./resources/[qbx]
src: ./tmp/qbx_customs.zip

# OX
- action: download_file
path: ./tmp/ox_lib.zip
Expand Down

0 comments on commit d946f5a

Please sign in to comment.