Skip to content

Commit

Permalink
chore: attempt at fixing upload pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Padhy <[email protected]>
  • Loading branch information
Shurtu-gal committed Dec 14, 2024
1 parent 6800457 commit 60290aa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 60290aa

Please sign in to comment.