File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 },
4141
4242 // Use 'postCreateCommand' to run commands after the container is created.
43- "postCreateCommand" : " pip install mkdocs-material mike --break-system-packages && rokit install --no-trust-check && wally install && rojo sourcemap develop .project.json --output sourcemap.json && wally-package-types --sourcemap sourcemap.json Packages/" ,
43+ "postCreateCommand" : " pip install mkdocs-material mike --break-system-packages && rokit install --no-trust-check && wally install && rojo sourcemap package .project.json --output sourcemap.json && wally-package-types --sourcemap sourcemap.json Packages/" ,
4444
4545 // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
4646 "remoteUser" : " root"
Original file line number Diff line number Diff line change @@ -2,13 +2,7 @@ name: CI
22
33on :
44 pull_request :
5- paths :
6- - " .github/workflows/ci.yml"
7- - " **.luau"
85 push :
9- paths :
10- - " .github/workflows/ci.yml"
11- - " **.luau"
126
137permissions :
148 contents : read
@@ -21,15 +15,16 @@ jobs:
2115 build :
2216 runs-on : ubuntu-latest
2317 steps :
24- - uses : actions/checkout@v6
18+ - name : Checkout repository
19+ uses : actions/checkout@v6
2520
26- - name : Setup Rokit
21+ - name : Install Rokit toolchain
2722 uses : CompeyDev/setup-rokit@v0.1.2
2823
29- - name : Setup Wally
24+ - name : Install Wally packages
3025 run : |
3126 wally install
32- rojo sourcemap develop.project.json --output sourcemap.json
27+ rojo sourcemap $BUILD_PROJECT --output sourcemap.json
3328 wally-package-types --sourcemap sourcemap.json Packages/
3429
3530 - name : Run StyLua
3833 - name : Run selene
3934 run : selene src/ models/
4035
41- - name : Build using Rojo
36+ - name : Build Rojo project
4237 run : |
4338 mkdir builds
4439 rojo build --output builds/$OUTPUT_NAME.rbxm $BUILD_PROJECT
4944 with :
5045 name : ${{ env.OUTPUT_NAME }}
5146 path : builds/
52- if-no-files-found : error
47+ if-no-files-found : error
Original file line number Diff line number Diff line change 77 paths :
88 - " .github/workflows/documentation.yml"
99 - " docs/**"
10+ - " src/**"
1011 - " mkdocs.yml"
1112
12- env :
13- VERSION : 1.x
14-
1513permissions :
1614 contents : write
1715
1816jobs :
1917 deploy :
2018 runs-on : ubuntu-latest
2119 steps :
22- - uses : actions/checkout@v6
20+ - name : Checkout repository
21+ uses : actions/checkout@v6
2322 with :
24- fetch-depth : 0
2523 sparse-checkout : |
2624 docs
25+ src
2726
2827 - name : Configure Git Credentials
2928 run : |
Original file line number Diff line number Diff line change 55 tags :
66 - " v*.*.*"
77
8+ env :
9+ VERSION : 1.x
10+
811permissions :
912 contents : write
1013
@@ -16,18 +19,19 @@ jobs:
1619 build :
1720 runs-on : ubuntu-latest
1821 steps :
19- - uses : actions/checkout@v6
22+ - name : Checkout repository
23+ uses : actions/checkout@v6
2024
21- - name : Setup Rokit
25+ - name : Install Rokit toolchain
2226 uses : CompeyDev/setup-rokit@v0.1.2
2327
24- - name : Setup Wally
28+ - name : Install Wally packages
2529 run : |
2630 wally install
27- rojo sourcemap develop.project.json --output sourcemap.json
31+ rojo sourcemap $BUILD_PROJECT --output sourcemap.json
2832 wally-package-types --sourcemap sourcemap.json Packages/
2933
30- - name : Build using Rojo
34+ - name : Build Rojo project
3135 run : |
3236 mkdir builds
3337 rojo build --output builds/$OUTPUT_NAME.rbxm $BUILD_PROJECT
4448 needs : build
4549 runs-on : ubuntu-latest
4650 steps :
47- - uses : actions/checkout@v6
51+ - name : Checkout repository
52+ uses : actions/checkout@v6
4853
49- - name : Setup Rokit
54+ - name : Install Rokit toolchain
5055 uses : CompeyDev/setup-rokit@v0.1.2
5156
5257 - name : Setup Wally
6974 generate_release_notes : true
7075
7176 - name : Publish to Wally
72- run : wally publish
77+ run : wally publish
You can’t perform that action at this time.
0 commit comments