From 340dccfe6504d35323b26481325e34ad20b30569 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Wed, 27 Mar 2024 13:02:01 +0100 Subject: [PATCH] create vendor folder --- .github/workflows/release.yml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 765194764..13b3d09ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,10 +140,11 @@ jobs: export RELEASE=$VERSION.$(date --utc +%y%m%d); echo "RELEASE=$RELEASE" >> $GITHUB_ENV; echo "REGISTRY_BASE=$REGISTRY" >> $GITHUB_ENV; - - name: Setting APP_NAME + - name: Create vendor folder run: | - export NAME=$(grep APP_NAME= .env | cut -d '=' -f2) - echo "APP_NAME=$NAME" >> $GITHUB_ENV + mkdir api/vendor + chmod +777 api/vendor + chmod +777 -R api/public - name: Print app name run: echo "APP_NAME = $APP_NAME" - name: Setting APP_ENV to dev @@ -207,12 +208,11 @@ jobs: export RELEASE=$VERSION.$(date --utc +%y%m%d); echo "RELEASE=$RELEASE" >> $GITHUB_ENV; echo "REGISTRY_BASE=$REGISTRY" >> $GITHUB_ENV; - - name: Setting APP_NAME + - name: Create vendor folder run: | - export NAME=$(grep APP_NAME= .env | cut -d '=' -f2) - echo "APP_NAME=$NAME" >> $GITHUB_ENV - - name: Print app name - run: echo "APP_NAME = $APP_NAME" + mkdir api/vendor + chmod +777 api/vendor + chmod +777 -R api/public - name: Setting APP_ENV to dev run: | echo "APP_ENV=dev">> $GITHUB_ENV @@ -307,12 +307,11 @@ jobs: export RELEASE=$VERSION.$(date --utc +%y%m%d); echo "RELEASE=$RELEASE" >> $GITHUB_ENV; echo "REGISTRY_BASE=$REGISTRY" >> $GITHUB_ENV; - - name: Setting APP_NAME + - name: Create vendor folder run: | - export NAME=$(grep APP_NAME= .env | cut -d '=' -f2) - echo "APP_NAME=$NAME" >> $GITHUB_ENV - - name: Print app name - run: echo "APP_NAME = $APP_NAME" + mkdir api/vendor + chmod +777 api/vendor + chmod +777 -R api/public - name: Setting APP_ENV to dev run: | echo "APP_ENV=dev">> $GITHUB_ENV @@ -384,12 +383,11 @@ jobs: export RELEASE=$VERSION.$(date --utc +%y%m%d); echo "RELEASE=$RELEASE" >> $GITHUB_ENV; echo "REGISTRY_BASE=$REGISTRY" >> $GITHUB_ENV; - - name: Setting APP_NAME + - name: Create vendor folder run: | - export NAME=$(grep APP_NAME= .env | cut -d '=' -f2) - echo "APP_NAME=$NAME" >> $GITHUB_ENV - - name: Print app name - run: echo "APP_NAME = $APP_NAME" + mkdir api/vendor + chmod +777 api/vendor + chmod +777 -R api/public - name: Setting APP_ENV to dev run: | echo "APP_ENV=dev">> $GITHUB_ENV