Skip to content

Commit 5d17ce9

Browse files
committed
fix(ci): run bundle only when packages were published
1 parent c84a436 commit 5d17ce9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ jobs:
3636
# The following step converts that list of objects to a list of strings (git tags for github releases)
3737
3838
- id: get-tags
39+
if: ${{ steps.changesets.outputs.published == 'true' }}
3940
run: |
4041
tags=$( echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -c 'map([.name,.version]) | map(join("@"))' )
4142
echo "::set-output name=tags::$tags"
4243
43-
4444
- name: Bundle
4545
id: bundle
46+
if: ${{ steps.changesets.outputs.published == 'true' }}
4647
uses: actions/github-script@v6
4748
with:
4849
debug: ${{ secrets.ACTIONS_RUNNER_DEBUG }}

0 commit comments

Comments
 (0)