Skip to content

Commit

Permalink
Skip storing packages that won't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
me-and committed Oct 23, 2023
1 parent e668232 commit c013389
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ jobs:

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

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

- name: Store distribution packages
if: steps.cygport-prep.outcome != 'skipped'
uses: actions/upload-artifact@v3
with:
name: dist-packages
Expand Down

0 comments on commit c013389

Please sign in to comment.