1- # This is a basic workflow to help you get started with Actions
2-
31name : Lint
4-
5- # Controls when the workflow will run
62on :
7- # Triggers the workflow on push or pull request events but only for the "master" branch
83 push :
94 branches : [ "master" ]
105 pull_request :
138 # Allows you to run this workflow manually from the Actions tab
149 workflow_dispatch :
1510
16- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
1711jobs :
18- # This workflow contains a single job called "build"
1912 Build_LuaLS :
20- # The type of runner that the job will run on
2113 runs-on : ubuntu-latest
22-
2314 outputs :
2415 luals_version : ${{ steps.get-luaLS-version.outputs.version }}
25-
26- # Steps represent a sequence of tasks that will be executed as part of the job
2716 steps :
2817 - name : Get LuaLS version
2918 id : get-luaLS-version
@@ -40,28 +29,20 @@ jobs:
4029 key : ${{ steps.get-luaLS-version.outputs.version }}
4130 path : ./luals
4231
43- - uses : actions/checkout@v4
32+ - name : Download LuaLS
33+ uses : robinraju/release-downloader@v1
4434 if : steps.cache.outputs.cache-hit != 'true'
4535 with :
4636 repository : LuaLS/lua-language-server
47- ref : ${{ steps.get-luaLS-version.outputs.version }}
48- path : ./luals
49-
50- # Runs a single command using the runners shell
51- - name : Install Lua Language Server
52- if : steps.cache.outputs.cache-hit != 'true'
53- working-directory : ./luals
54- run : |
55- echo Running Lua Language Server build script
56- sudo apt-get update
57- sudo apt-get -y install ninja-build
58- ./make.sh
37+ tag : ${{ steps.get-luaLS-version.outputs.version }}
38+ fileName : ' *-linux-x64.tar.gz'
39+ extract : true
40+ out-file-path : ./luals
5941
6042 Lint_LuaJit :
6143 needs : Build_LuaLS
6244 runs-on : ubuntu-latest
6345 steps :
64- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
6546 - uses : actions/checkout@v4
6647 with :
6748 path : ./file-browser
8162 needs : Build_LuaLS
8263 runs-on : ubuntu-latest
8364 steps :
84- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
8565 - uses : actions/checkout@v4
8666 with :
8767 path : ./file-browser
10181 needs : Build_LuaLS
10282 runs-on : ubuntu-latest
10383 steps :
104- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
10584 - uses : actions/checkout@v4
10685 with :
10786 path : ./file-browser
0 commit comments