From cdd55d98e9dff1390b957161cdd28f036bb82dab Mon Sep 17 00:00:00 2001 From: Lukas Reineke Date: Mon, 2 Oct 2023 13:18:18 +0900 Subject: [PATCH] test --- .github/workflows/lua_language_server.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lua_language_server.yml b/.github/workflows/lua_language_server.yml index 4d57584b..ae9a35fc 100644 --- a/.github/workflows/lua_language_server.yml +++ b/.github/workflows/lua_language_server.yml @@ -22,7 +22,7 @@ jobs: uses: actions/cache@v3 with: path: _neovim - key: ${{ matrix.rev }}-${{ hashFiles('todays-date') }} + key: ${{ matrix.rev == 'stable' && env.NEOVIM_STABLE_VERSION || matrix.rev }}-${{ hashFiles('todays-date') }} - name: Restore vendor dependencies uses: actions/cache@v3 with: @@ -32,16 +32,16 @@ jobs: uses: actions/cache@v3 with: path: _lua-ls - key: 3.7.0 + key: $LUA_LANGUAGE_SERVER_VERSION - name: Prepare run: | test -d _neovim || { mkdir -p _neovim - curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.rev }}/nvim-linux64.tar.gz" | tar xzf - --strip-components=1 -C "${PWD}/_neovim" + curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.rev == 'stable' && env.NEOVIM_STABLE_VERSION || matrix.rev }}/nvim-linux64.tar.gz" | tar xzf - --strip-components=1 -C "${PWD}/_neovim" } test -d _lua-ls || { mkdir -p _lua-ls - curl -sL "https://github.com/LuaLS/lua-language-server/releases/download/3.7.0/lua-language-server-3.7.0-linux-x64.tar.gz" | tar xzf - -C "${PWD}/_lua-ls" + curl -sL "https://github.com/LuaLS/lua-language-server/releases/download/${{ env.LUA_LANGUAGE_SERVER_VERSION }}/lua-language-server-${{ env.LUA_LANGUAGE_SERVER_VERSION }}-linux-x64.tar.gz" | tar xzf - -C "${PWD}/_lua-ls" } - name: Run check