From ae83a32b05f36893fb84e91767f11ab11c63044d Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Wed, 4 Sep 2024 16:23:20 +0000 Subject: [PATCH] nginx-build.yaml: adding editions --- .github/workflows/nginx-build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nginx-build.yaml b/.github/workflows/nginx-build.yaml index 35c5371..56562bd 100644 --- a/.github/workflows/nginx-build.yaml +++ b/.github/workflows/nginx-build.yaml @@ -19,12 +19,18 @@ jobs: echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV echo "NGINX_TAG=${NGINX_TAG}" - - name: Run Nginx Build + - name: Run Nginx Build (Vanilla) run: | echo "This Task will be run using the following tag: ${NGINX_TAG}" curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} -nl -nm - tar czvf nginx-${NGINX_TAG}.tar.gz ~/nginx_scriptbox/nginx/objs + tar czvf nginx-${NGINX_TAG}-vanilla.tar.gz ~/nginx_scriptbox/nginx/objs + - name: Run Nginx Build (All Star) + run: | + echo "This Task will be run using the following tag: ${NGINX_TAG}" + curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} + tar czvf nginx-${NGINX_TAG}-allstar.tar.gz ~/nginx_scriptbox/nginx/objs /var/lib/modsecurity /opt/nginx-lua-module/ + - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/')