Skip to content

Commit c666bda

Browse files
committed
Add debug and create build folder
1 parent 67b8ac0 commit c666bda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-plugin-archive.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ jobs:
200200
registry-url: ${{ inputs.NPM_REGISTRY_DOMAIN }}
201201
cache: ${{ env.NODE_CACHE_MODE }}
202202

203+
- name: Debug GITHUB_ENV
204+
run: cat $GITHUB_ENV
205+
203206
- name: Install and run Composer Asset Compiler
204207
if: steps.composer-tools.outputs.assets-compiler == '0'
205208
run: |
@@ -221,6 +224,9 @@ jobs:
221224
php-scoper add-prefix --force --output-dir build
222225
composer --working-dir=build dump-autoload -o
223226
sed -i "s/'__composer_autoload_files'/\'__composer_autoload_files_${{ github.sha }}'/g" "build/vendor/composer/autoload_real.php"
227+
- name: Create build directory
228+
if: steps.composer-tools.outputs.php-scoper != '0'
229+
run: mkdir -p build
224230
- name: Move unchanged code to build directory
225231
if: steps.composer-tools.outputs.php-scoper != '0'
226232
run: mv * build 2>/dev/null

0 commit comments

Comments
 (0)