Skip to content

Commit ee71ab8

Browse files
installing luau via ci
1 parent 7c0d764 commit ee71ab8

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
77
# using the `master` branch as the default branch.
88
push:
9-
branches: [main]
9+
branches: main
1010

1111
# Allows you to run this workflow manually from the Actions tab
1212
workflow_dispatch:

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: main
6+
7+
pull_request:
8+
branches: main
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Download latest Luau binary
15+
id: download_luau
16+
run: |
17+
# Get latest release tag
18+
LATEST_TAG=$(curl -s https://api.github.com/repos/Roblox/luau/releases/latest | jq -r '.tag_name')
19+
echo "Latest Luau version: $LATEST_TAG"
20+
21+
# Download Linux binary
22+
curl -LO https://github.com/Roblox/luau/releases/download/${LATEST_TAG}/luau-linux
23+
24+
# Make executable
25+
chmod +x luau-linux
26+
27+
# Move to a known location
28+
sudo mv luau-linux /usr/local/bin/luau
29+
30+
- name: Verify Luau installed
31+
run: luau --version
32+

rokit.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
[tools]
77
wally = "UpliftGames/wally@0.3.2"
8-
lune = "lune-org/lune@0.9.3"
8+
lune = "lune-org/lune@0.9.3"

0 commit comments

Comments
 (0)