Skip to content

Commit

Permalink
fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Barocena committed Dec 20, 2023
1 parent 72bdbac commit 3b918ac
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand All @@ -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:
Expand All @@ -81,7 +81,6 @@ jobs:

- name: Install dependencies
run: npm install
-

- name: Build with Nexe
run: node build.js
Expand Down

0 comments on commit 3b918ac

Please sign in to comment.