Skip to content
Snippets Groups Projects
Commit 650e8c03 authored by David Beitey's avatar David Beitey
Browse files

CI: fix env variable for dynamic modules

parent e74cb5e6
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,12 @@ jobs:
- name: Build
env:
_NGINX_VERSION: ${{ matrix.nginx }}
_DYNAMIC_MODULE: ${{ matrix.dynamic_module }}
SHIB_DYNAMIC_MODULE: ${{ matrix.dynamic_module }}
run: |
wget -O - "https://nginx.org/download/nginx-$_NGINX_VERSION.tar.gz" | tar -xzf -
cd "nginx-$_NGINX_VERSION"
git clone https://github.com/openresty/headers-more-nginx-module.git -b v0.33
if [ "$_DYNAMIC_MODULE" = true ]; then
if [ "$SHIB_DYNAMIC_MODULE" = true ]; then
./configure --with-debug --add-dynamic-module=.. --add-dynamic-module=./headers-more-nginx-module
else
./configure --with-debug --add-module=.. --add-module=./headers-more-nginx-module
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment