Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fix the release action #256

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build plugin # Remove or modify this step as needed
run: |
npm install
npm run build

- name: Archive release
uses: thedoctor0/zip-release@0.7.1
uses: thedoctor0/zip-release@0.7.5
with:
type: 'zip'
filename: 'block-theme.zip'
filename: 'release.zip'
exclusions: '*.git* /*node_modules/*'

- name: Upload release artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release
path: block-theme.zip
path: release.zip

- name: Upload Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "block-theme.zip"
artifacts: "release.zip"
token: ${{ secrets.GITHUB_TOKEN }}
Loading