Skip to content

Commit

Permalink
feat(gh-actions): add build artifacts generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bandantonio committed Jun 28, 2024
1 parent a09ec8c commit cfae3fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ jobs:
if: steps.cache-node-modules.outcome == 'success'
run: npm run build

- name: Upload build assets
uses: actions/upload-artifact@v3
if: steps.build_plugin.outcome == 'success'
with:
name: build-assets
path: |
main.js
manifest.json
styles.css
retention-days: 3

- name: 📦 Create release
uses: softprops/action-gh-release@v1
if: steps.build_plugin.outcome == 'success' && contains(github.ref, 'refs/tags/')
Expand Down

0 comments on commit cfae3fc

Please sign in to comment.