You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/02/20 01:58:05 UTC

[skywalking-nginx-lua] branch master updated: Try to use 3rd party lua runtime.

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git


The following commit(s) were added to refs/heads/master by this push:
     new ff70966  Try to use 3rd party lua runtime.
ff70966 is described below

commit ff70966913b32e49f1392000d623b3de5e94d9f8
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Feb 20 09:57:56 2020 +0800

    Try to use 3rd party lua runtime.
---
 .github/workflows/ci.yaml |  7 +++----
 ci/lua-setup.sh           | 25 -------------------------
 2 files changed, 3 insertions(+), 29 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 7715857..09d27a8 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -35,7 +35,6 @@ jobs:
       - uses: actions/checkout@v1
         with:
           submodules: true
-      - name: 'Install LUA runtime'
-        run: |
-          sh ci/lua-setup.sh
-          lua -v
\ No newline at end of file
+      - uses: leafo/gh-actions-lua@v5
+        with:
+          luaVersion: "5.3.5"
\ No newline at end of file
diff --git a/ci/lua-setup.sh b/ci/lua-setup.sh
deleted file mode 100644
index 7d5b401..0000000
--- a/ci/lua-setup.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
-tar zxf lua-5.3.5.tar.gz
-cd lua-5.3.5
-make linux test
-cd src
-LUA_PATH=`pwd`
-export PATH=$PATH:$LUA_PATH
-echo $PATH
\ No newline at end of file