Skip to content

Commit e668232

Browse files
committed
Add extra steps for storing dist packages
For when you want to download packages to, e.g., do a local install without needing to download the entire build directory.
1 parent 4fb0be2 commit e668232

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,16 @@ jobs:
203203
name: build-results
204204
path: build-results.tar
205205
if-no-files-found: error
206+
207+
- name: Tar up distribution packages
208+
shell: C:\cygwin\bin\bash.exe --noprofile --norc -e -o pipefail -o igncr {0}
209+
env:
210+
PATH: C:\cygwin\bin
211+
run: tar -cvf dist-packages.tar "$CYGPORT_BUILD_DIR"/dist/*
212+
213+
- name: Store distribution packages
214+
uses: actions/upload-artifact@v3
215+
with:
216+
name: dist-packages
217+
path: dist-packages.tar
218+
if-no-files-found: error

0 commit comments

Comments
 (0)