Skip to content

Commit ae255d8

Browse files
committed
Merge branch 'main' into react-luau
2 parents 2c7c5bf + c36c8c6 commit ae255d8

4 files changed

Lines changed: 25 additions & 26 deletions

File tree

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
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"

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ name: CI
22

33
on:
44
pull_request:
5-
paths:
6-
- ".github/workflows/ci.yml"
7-
- "**.luau"
85
push:
9-
paths:
10-
- ".github/workflows/ci.yml"
11-
- "**.luau"
126

137
permissions:
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
@@ -38,7 +33,7 @@ jobs:
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
@@ -49,4 +44,4 @@ jobs:
4944
with:
5045
name: ${{ env.OUTPUT_NAME }}
5146
path: builds/
52-
if-no-files-found: error
47+
if-no-files-found: error

‎.github/workflows/documentation.yml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@ on:
77
paths:
88
- ".github/workflows/documentation.yml"
99
- "docs/**"
10+
- "src/**"
1011
- "mkdocs.yml"
1112

12-
env:
13-
VERSION: 1.x
14-
1513
permissions:
1614
contents: write
1715

1816
jobs:
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: |

‎.github/workflows/release.yml‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- "v*.*.*"
77

8+
env:
9+
VERSION: 1.x
10+
811
permissions:
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
@@ -44,9 +48,10 @@ jobs:
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
@@ -69,4 +74,4 @@ jobs:
6974
generate_release_notes: true
7075

7176
- name: Publish to Wally
72-
run: wally publish
77+
run: wally publish

0 commit comments

Comments
 (0)