From 6297f9dda541cf280db671d1769a3e9f56f15a73 Mon Sep 17 00:00:00 2001 From: Eivind Date: Wed, 26 Jul 2023 12:46:48 +0200 Subject: [PATCH] fix: upload build artifact --- .github/workflows/Publish.yml | 6 ++++++ release.config.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 8e865ff..f03c80c 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -38,8 +38,14 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/upload-artifact@v3 + with: + name: dist + path: dist/release.zip + - name: Upload & release uses: mnao305/chrome-extension-upload@v4.0.0 + if: ${{ steps.semver.outputs.VERSION != '' }} with: file-path: dist/release.zip extension-id: pjegkjcbjfoldlpcbjniaceihlkjdkeg diff --git a/release.config.js b/release.config.js index b2785ab..ac20233 100644 --- a/release.config.js +++ b/release.config.js @@ -20,6 +20,6 @@ module.exports = { } ], '@semantic-release/release-notes-generator', - '@semantic-release/github' + ['@semantic-release/github', { assets: [{ path: 'dist/release.zip', label: 'Dist' }] }] ] }