-
-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (31 loc) · 1.12 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build Place Files
on:
release:
types: [published]
jobs:
build:
name: Build Place Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Foreman
uses: Roblox/setup-foreman@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Create builds directory
run: mkdir -p roblox/builds
- name: Build Default
run: rojo build roblox/default.project.json -o roblox/builds/hub-default.rbxl
- name: Build Cyborg
run: rojo build roblox/cyborg.project.json -o roblox/builds/hub-cyborg.rbxl
- name: Build Catppuccin Latte
run: rojo build roblox/catppuccin-latte.project.json -o roblox/builds/hub-catppuccin-latte.rbxl
- name: Build Catppuccino Mocha
run: rojo build roblox/catppuccin-mocha.project.json -o roblox/builds/hub-catppuccin-mocha.rbxl
- name: Upload Place Files
run: gh release upload ${{ github.ref_name }} roblox/builds/*.rbxl
env:
GITHUB_TOKEN: ${{ github.TOKEN }}