Skip to content

Commit edb5f15

Browse files
committed
only add to release if package list was empty
1 parent da653b7 commit edb5f15

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-apk-forgejo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
run: tar --zstd -cf buildroot.tar.zst buildroot
153153

154154
- name: Save buildroot cache
155-
if: steps.cache.outputs.cache-hit != 'true'
155+
if: steps.cache.outputs.cache-hit != 'true' && !inputs.packages
156156
uses: ./.github/actions/buildroot-cache
157157
with:
158158
mode: save

.github/workflows/build-deb-forgejo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
run: tar --zstd -cf buildroot.tar.zst buildroot
169169

170170
- name: Save buildroot cache
171-
if: steps.cache.outputs.cache-hit != 'true'
171+
if: steps.cache.outputs.cache-hit != 'true' && !inputs.packages
172172
uses: ./.github/actions/buildroot-cache
173173
with:
174174
mode: save
@@ -289,7 +289,7 @@ jobs:
289289
run: tar --zstd -cf buildroot.tar.zst buildroot
290290

291291
- name: Save buildroot cache
292-
if: steps.cache.outputs.cache-hit != 'true'
292+
if: steps.cache.outputs.cache-hit != 'true' && !inputs.packages
293293
uses: ./.github/actions/buildroot-cache
294294
with:
295295
mode: save

.github/workflows/build-rpm-modular-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
run: tar -cf - buildroot | zstd -o buildroot.tar.zst
184184

185185
- name: Save buildroot cache
186-
if: steps.cache.outputs.cache-hit != 'true'
186+
if: steps.cache.outputs.cache-hit != 'true' && !inputs.packages
187187
uses: ./.github/actions/buildroot-cache
188188
with:
189189
mode: save
@@ -315,7 +315,7 @@ jobs:
315315
run: tar -cf - buildroot | zstd -o buildroot.tar.zst
316316

317317
- name: Save buildroot cache
318-
if: steps.cache.outputs.cache-hit != 'true'
318+
if: steps.cache.outputs.cache-hit != 'true' && !inputs.packages
319319
uses: ./.github/actions/buildroot-cache
320320
with:
321321
mode: save

0 commit comments

Comments
 (0)