Move copy of composer.json step to after unzipping

This commit is contained in:
roykho 2022-05-09 08:23:48 -07:00
parent 1e090c3c3c
commit 36656e9c3d
No known key found for this signature in database
GPG Key ID: 00D6C128DC6E0F71
1 changed files with 3 additions and 3 deletions

View File

@ -58,9 +58,6 @@ jobs:
with: with:
path: monorepo path: monorepo
- name: Copy Composer over to production
run: cp monorepo/plugins/woocommerce/composer.json tmp/woocommerce-build
- name: Download WooCommerce ZIP - name: Download WooCommerce ZIP
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
@ -75,6 +72,9 @@ jobs:
mv woocommerce/woocommerce-production/woocommerce/* woocommerce/woocommerce-production mv woocommerce/woocommerce-production/woocommerce/* woocommerce/woocommerce-production
rm -rf woocommerce/woocommerce-production/woocommerce rm -rf woocommerce/woocommerce-production/woocommerce
- name: Copy Composer over to production
run: cp monorepo/plugins/woocommerce/composer.json tmp/woocommerce-build
- name: Set up mirror - name: Set up mirror
working-directory: tmp/woocommerce-build working-directory: tmp/woocommerce-build
run: | run: |