kezhenxu94 commented on a change in pull request #57:
URL: 
https://github.com/apache/skywalking-nginx-lua/pull/57#discussion_r550876428



##########
File path: .github/workflows/ci.yaml
##########
@@ -38,29 +38,26 @@ jobs:
         run: |
           git submodule sync --recursive
           git -c protocol.version=2 submodule update --init --force 
--recursive --depth=1
-      - uses: leafo/gh-actions-lua@v5
-        with:
-          luaVersion: "5.3.5"
+      - name: "Install OpenResty"
+        run: |
+          wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key 
add -
+          sudo apt-get -y update --fix-missing
+          sudo apt-get -y install software-properties-common
+          sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu 
$(lsb_release -sc) main"
+          sudo apt-get update
+          sudo apt-get install openresty-debug
       - name: 'Install LuaRocks'
         run: |
           wget https://luarocks.org/releases/luarocks-3.3.0.tar.gz
           tar zxpf luarocks-3.3.0.tar.gz
           cd luarocks-3.3.0
-          ./configure && make && sudo make install
+          ./configure --with-lua=/usr/local/ && make && sudo make install

Review comment:
       ```suggestion
             ./configure --with-lua=/usr/ && make && sudo make install
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to