From cb86017d93f341186bb6f14559eed301e6e4ce5c Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Sun, 12 Jan 2025 11:14:06 +0700 Subject: [PATCH] test: do bash shell --- .github/workflows/alpine-nginx-build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpine-nginx-build.yaml b/.github/workflows/alpine-nginx-build.yaml index 8216ae6..fcb3e48 100644 --- a/.github/workflows/alpine-nginx-build.yaml +++ b/.github/workflows/alpine-nginx-build.yaml @@ -17,7 +17,7 @@ jobs: - name: Run script inside Alpine chroot as root run: | - apk add curl bash + apk add curl bash bash-completion shell: alpine.sh --root {0} - name: Set up environment variables @@ -33,6 +33,9 @@ jobs: - name: Run nginx Builds run: | #!/bin/bash + BASH=$(which bash) + $BASH -l + echo "${NGINX_TAG}" TAGS="vanilla" OPTIONS="--type=nginx" @@ -42,7 +45,7 @@ jobs: echo "This Task will be run using the following version: ${TAGS[$i]}" echo "This Task will be run using the following options: ${OPTIONS[$i]}" - #curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]} + curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]} # Prepare tar file paths HOMEDIRECTORY=~/nginx_scriptbox