Skip to content

Commit

Permalink
Add extra steps for storing dist packages
Browse files Browse the repository at this point in the history
For when you want to download packages to, e.g., do a local install
without needing to download the entire build directory.
  • Loading branch information
me-and committed Oct 23, 2023
1 parent 4fb0be2 commit e668232
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,16 @@ jobs:
name: build-results
path: build-results.tar
if-no-files-found: error

- name: Tar up distribution packages
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
uses: actions/upload-artifact@v3
with:
name: dist-packages
path: dist-packages.tar
if-no-files-found: error

0 comments on commit e668232

Please sign in to comment.