Skip to content

Commit c013389

Browse files
committed
Skip storing packages that won't exist
1 parent e668232 commit c013389

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184

185185
- name: Cygport package
186186
if: steps.build-cache.outputs.cache-hit != 'true'
187+
id: cygport-package
187188
shell: C:\cygwin\bin\bash.exe --noprofile --norc -e -o pipefail -o igncr {0}
188189
env:
189190
PATH: C:\cygwin\bin
@@ -205,12 +206,14 @@ jobs:
205206
if-no-files-found: error
206207

207208
- name: Tar up distribution packages
209+
if: steps.cygport-prep.outcome != 'skipped'
208210
shell: C:\cygwin\bin\bash.exe --noprofile --norc -e -o pipefail -o igncr {0}
209211
env:
210212
PATH: C:\cygwin\bin
211213
run: tar -cvf dist-packages.tar "$CYGPORT_BUILD_DIR"/dist/*
212214

213215
- name: Store distribution packages
216+
if: steps.cygport-prep.outcome != 'skipped'
214217
uses: actions/upload-artifact@v3
215218
with:
216219
name: dist-packages

0 commit comments

Comments
 (0)