Skip to content

Commit ff03cda

Browse files
committed
CI
1 parent 07d5b9b commit ff03cda

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
lint:
9+
name: Lint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Install Aftman
15+
uses: ok-nick/setup-aftman@v0.4.2
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Run Selene
20+
run: selene src
21+
22+
build-artifacts:
23+
name: Build Artifacts
24+
runs-on: ubuntu-latest
25+
needs: lint
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
- name: Install Aftman
30+
uses: ok-nick/setup-aftman@v0.4.2
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Install Dependencies
35+
run: wally install
36+
37+
- name: Build
38+
run: rojo build -o RedonUI-dev.rbxmx standalone.project.json
39+
40+
- name: Upload Artifact
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: RedonUI-dev
44+
path: RedonUI-dev.rbxmx

0 commit comments

Comments
 (0)