Hello!
-
What do you want to achieve? I’m getting started with Knit and Rojo, and was mimicking a system used in @sleitnick’s video.
-
What is the issue? When I try to automatically publish with a push from VS Code, I get a bunch of errors based around the custom functions from knit and related modules (Like
beforeAll
,afterEach
, andandThen
.
-
What solutions have you tried so far? I’ve looked this up and found nobody else with a related problem.
Here’s my yaml file and a screenshot of the explorer:
`deploy_staging.yaml`
name: Deploy_To_Staging
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: Roblox/setup-foreman@v1
name: Install Foreman
with:
version: "^1.0.0"
token: ${{ SECRETS.GITHUB_TOKEN }}
- run: rojo build -o game.rbxl
- run: rbxcloud experience publish -f game.rbxl -p 10502858237 -u 3821902738 -t published -a ${{ secrets.API_KEY }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: Roblox/setup-foreman@v1
name: Install Foreman
with:
version: "^1.0.0"
token: ${{ SECRETS.GITHUB_TOKEN }}
- name: Lint
run: |
selene ./src
style:
name: Styling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .
Is this a misunderstanding from Selene and StyLua, or am I doing something wrong?
Thanks