Skip to content

Commit

Permalink
fix(ci): replace action for upload the archive
Browse files Browse the repository at this point in the history
- Substituted the `10up/action-wordpress-plugin-build-zip` with the `actions/upload-artifact@v4`.
  • Loading branch information
chriskyfung authored Apr 28, 2024
1 parent 85581d7 commit 6bcf198
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ jobs:
- name: Build plugin # modify this step as needed
run: |
composer install --no-dev
composer build wp2static.zip
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
- name: Upload the archive as an artifact
id: upload-plugin-artifact
uses: actions/upload-artifact@v4
with:
retention-days: 5 # Optional; defaults to 5
name: ${{ github.event.repository.name }}
path: wp2static.zip


0 comments on commit 6bcf198

Please sign in to comment.