From 184a972494e25fc2d2ef25323defe1017a84a427 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Wed, 4 Sep 2024 14:45:12 +0000 Subject: [PATCH] nginx-build.yaml: attempt 1 --- .github/workflows/nginx-build.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nginx-build.yaml b/.github/workflows/nginx-build.yaml index bdc33d4..58a25aa 100644 --- a/.github/workflows/nginx-build.yaml +++ b/.github/workflows/nginx-build.yaml @@ -19,6 +19,13 @@ jobs: echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV echo "NGINX_TAG=${NGINX_TAG}" -# - name: Run Nginx Build -# run: | -# curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag={$Nginx_Tag} + - name: Run Nginx Build + run: | + 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 + + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: nginx-${NGINX_TAG}.tar.gz