Skip to content

Commit

Permalink
Update the Publish to WP GitHub actions to unzip from the tmp directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbowler committed Jan 24, 2024
1 parent 2d1a97a commit 60d6e03
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/zips.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
upload-to-cloud-storage:
name: Upload to GCS
runs-on: ubuntu-latest
if: github.event_name != 'workflow_dispatch'
needs: build-zips
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -232,12 +233,10 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: zip-files
path: ${{ github.ref }}
path: /tmp
- name: Extract
run: |
unzip google-site-kit.zip
mv google-site-kit/* .
rm -rf google-site-kit ./*.zip
unzip /tmp/google-site-kit.zip -d ${{ github.ref }}
echo .distignore > .distignore
- uses: 10up/[email protected]
with:
Expand Down

0 comments on commit 60d6e03

Please sign in to comment.