Skip to content

Commit b9da326

Browse files
committed
ci: fix is_release checks in the packaging job
1 parent 0389bab commit b9da326

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,25 +553,25 @@ jobs:
553553
run: packaging_checks
554554

555555
- name: Archive artifact (sdist)
556-
if: needs.analyze.outputs.is_release
556+
if: needs.analyze.outputs.is_release == 'yes'
557557
uses: actions/upload-artifact@v2
558558
with:
559559
name: Source
560560
path: dist/*.tar.gz
561561

562562
- name: Archive artifact (wheel)
563-
if: needs.analyze.outputs.is_release
563+
if: needs.analyze.outputs.is_release == 'yes'
564564
uses: actions/upload-artifact@v2
565565
with:
566566
name: Wheel
567567
path: dist/*.whl
568568

569569
- name: Generate translations catalogs archive
570-
if: needs.analyze.outputs.is_release
570+
if: needs.analyze.outputs.is_release == 'yes'
571571
run: generate_translations_catalogs_archive
572572

573573
- name: Archive artifact (translations catalogs)
574-
if: needs.analyze.outputs.is_release
574+
if: needs.analyze.outputs.is_release == 'yes'
575575
uses: actions/upload-artifact@v2
576576
with:
577577
name: Translations Catalogs

.github/workflows/ci/workflow_template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,25 +161,25 @@ jobs:
161161
run: packaging_checks
162162

163163
- name: Archive artifact (sdist)
164-
if: needs.analyze.outputs.is_release
164+
if: needs.analyze.outputs.is_release == 'yes'
165165
uses: <@ action_upload_artifact @>
166166
with:
167167
name: Source
168168
path: dist/*.tar.gz
169169

170170
- name: Archive artifact (wheel)
171-
if: needs.analyze.outputs.is_release
171+
if: needs.analyze.outputs.is_release == 'yes'
172172
uses: <@ action_upload_artifact @>
173173
with:
174174
name: Wheel
175175
path: dist/*.whl
176176

177177
- name: Generate translations catalogs archive
178-
if: needs.analyze.outputs.is_release
178+
if: needs.analyze.outputs.is_release == 'yes'
179179
run: generate_translations_catalogs_archive
180180

181181
- name: Archive artifact (translations catalogs)
182-
if: needs.analyze.outputs.is_release
182+
if: needs.analyze.outputs.is_release == 'yes'
183183
uses: <@ action_upload_artifact @>
184184
with:
185185
name: Translations Catalogs

0 commit comments

Comments
 (0)