From cfae3fc3724d6f9818b931ca564a124f9e358be6 Mon Sep 17 00:00:00 2001 From: Antonio Date: Fri, 28 Jun 2024 22:20:48 +0300 Subject: [PATCH] feat(gh-actions): add build artifacts generation --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d55c04c..e381f97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/')