From 60290aa8eb396febba9700cde3a0a72f5d0f075b Mon Sep 17 00:00:00 2001 From: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> Date: Sat, 14 Dec 2024 12:46:13 +0530 Subject: [PATCH] chore: attempt at fixing upload pipeline Signed-off-by: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> --- .github/workflows/upload-release-assets.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/upload-release-assets.yml b/.github/workflows/upload-release-assets.yml index f9c979955ad..b56e0eb6689 100644 --- a/.github/workflows/upload-release-assets.yml +++ b/.github/workflows/upload-release-assets.yml @@ -1,16 +1,13 @@ name: Upload custom assets to GitHub release on: - # It cannot run on release event as when release is created then version is not yet bumped in package.json - # This means we cannot extract easily latest version and have a risk that package is not yet on npm - push: - branches: - - master + release: + types: + - published jobs: upload-assets: name: Generate and upload assets - if: startsWith(github.event.commits[0].message, 'chore(release):') runs-on: ${{ matrix.os }} continue-on-error: true strategy: