Skip to content

Commit 0ad8fe6

Browse files
authored
ci: don't re-trigger workflows when tags are pushed (#94)
* ci: don't re-trigger workflows when tags are pushed * ci: don't attempt to upload distribution artifacts if no release was generated
1 parent 428f10f commit 0ad8fe6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/cd-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110

111111
- name: Upload | Distribution Artifacts
112112
uses: actions/upload-artifact@v4
113+
if: steps.release.outputs.released == 'true'
113114
with:
114115
name: distribution-artifacts
115116
path: dist

.github/workflows/ci-testing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
push:
99
branches:
1010
- main
11+
tags-ignore:
12+
- '**'
1113

1214
concurrency:
1315
group: ${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)