Skip to content

Commit

Permalink
fix: add ZIP generator to build action
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStormwood committed Mar 27, 2024
1 parent 7677ca0 commit 45a7b1b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/generateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,21 @@ jobs:
- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: lts/*
node-version: lts/*

- name: Get Repository Name
id: repo-name
uses: MariachiBear/[email protected]

- name: ZIP up the plugin code
run: zip -j ${{ steps.repo-name.outputs.repository-name }}.zip .

- name: Upload Output to Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.draft_release.outputs.release_version }}
draft: true
files: ${{ steps.repo-name.outputs.repository-name }}.zip

make_release:
needs: [draft_release, generate_output]
Expand Down

0 comments on commit 45a7b1b

Please sign in to comment.