Skip to content

Commit 4ad285c

Browse files
If Check added
1 parent aa05631 commit 4ad285c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci-cd.yml

+3
Original file line numberDiff line numberDiff line change
@@ -345,18 +345,21 @@ jobs:
345345

346346
steps:
347347
- name: Checkout Repository
348+
if: startsWith(github.ref, 'refs/tags/')
348349
uses: actions/checkout@v2
349350
with:
350351
submodules: recursive
351352
token: ${{ secrets.CHECKOUT_TOKEN }}
352353

353354
- name: Build Changelog
354355
id: github_release
356+
if: startsWith(github.ref, 'refs/tags/')
355357
uses: mikepenz/release-changelog-builder-action@v1
356358
env:
357359
GITHUB_TOKEN: ${{ secrets.CHECKOUT_TOKEN }}
358360

359361
- name: Create Release
362+
if: startsWith(github.ref, 'refs/tags/')
360363
uses: actions/create-release@v1
361364
with:
362365
tag_name: ${{ github.ref }}

0 commit comments

Comments
 (0)