-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,15 +22,15 @@ jobs: | |
release_name: ${{ github.ref }} | ||
draft: true | ||
|
||
build plugin: | ||
build-plugin: | ||
runs-on: ubuntu-latest | ||
needs: ["create-release"] | ||
name: Build Roblox Studio Plugin | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ok-nick/[email protected] | ||
|
||
- name: Run selene | ||
- name: Run selene | ||
run: selene src | ||
working-directory: plugin | ||
|
||
|
@@ -42,24 +42,24 @@ jobs: | |
run: rojo sourcemap default.project.json --output sourcemap.json | ||
working-directory: plugin | ||
|
||
- name: Download global Roblox types | ||
- name: Download global Roblox types | ||
shell: bash | ||
run: curl -s -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/master/scripts/globalTypes.d.lua | ||
|
||
- name: Run Luau Analyze | ||
- name: Run Luau Analyze | ||
run: luau-lsp analyze --sourcemap=sourcemap.json --defs=../globalTypes.d.lua --no-strict-dm-types src | ||
working-directory: plugin | ||
|
||
- name: Build Plugin | ||
- name: Build Plugin | ||
run: rojo build plugin -o Plugin.rbxm | ||
|
||
- name: Upload artifacts | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Plugin.rbxm | ||
path: Plugin.rbxm | ||
- name: Upload Plugin to Release | ||
|
||
- name: Upload Plugin to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -69,7 +69,7 @@ jobs: | |
asset_name: Plugin.rbxm | ||
asset_content_type: application/octet-stream | ||
|
||
build exe: | ||
build-exe: | ||
runs-on: ubuntu-latest | ||
needs: ["create-release"] | ||
steps: | ||
|
@@ -81,7 +81,6 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: npm install | ||
- | ||
|
||
- name: Build with Nexe | ||
run: node build.js | ||
|