diff --git a/.github/workflows/build_and_test_with_resty_events.yml b/.github/workflows/build_and_test_with_resty_events.yml index 5f30d970..e7e9219e 100644 --- a/.github/workflows/build_and_test_with_resty_events.yml +++ b/.github/workflows/build_and_test_with_resty_events.yml @@ -51,11 +51,9 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/.github/workflows/build_and_test_with_resty_events.yml') }}-${{ matrix.openresty-version }} - name: Add to Path - if: steps.cache-deps.outputs.cache-hit != 'true' run: echo "$INSTALL_ROOT/bin:$INSTALL_ROOT/nginx/sbin:$INSTALL_ROOT/luajit/bin:/usr/bin" >> $GITHUB_PATH - name: Build and install OpenSSL - if: steps.cache-deps.outputs.cache-hit != 'true' run: | curl -sSLO https://www.openssl.org/source/openssl-$OPENSSL.tar.gz tar -xzf openssl-$OPENSSL.tar.gz @@ -72,7 +70,6 @@ jobs: path: lua-resty-events - name: Build and install OpenResty - if: steps.cache-deps.outputs.cache-hit != 'true' run: | curl -sSLO https://openresty.org/download/openresty-$OPENRESTY.tar.gz tar -xzf openresty-$OPENRESTY.tar.gz @@ -96,7 +93,6 @@ jobs: make install LUA_LIBDIR=$INSTALL_ROOT/lualib - name: Install LuaRocks - if: steps.cache-deps.outputs.cache-hit != 'true' run: | curl -sSLO https://luarocks.org/releases/luarocks-$LUAROCKS.tar.gz tar -xzf luarocks-$LUAROCKS.tar.gz @@ -110,19 +106,16 @@ jobs: make install - name: Install manual dependencies - if: steps.cache-deps.outputs.cache-hit != 'true' run: | luarocks install luacheck - name: Install Test::NGINX - if: steps.cache-deps.outputs.cache-hit != 'true' run: | sudo apt-get install cpanminus cpanm --notest --local-lib=$HOME/perl5 local::lib && eval $(perl -I $HOME/perl5/lib/perl5/ -Mlocal::lib) cpanm --notest Test::Nginx - name: Install lua-resty-events - if: steps.cache-deps.outputs.cache-hit != 'true' run: | cd lua-resty-events OPENRESTY_PREFIX=$INSTALL_ROOT PREFIX=$INSTALL_ROOT LUA_LIB_DIR=$INSTALL_ROOT/lualib make install