diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-12-18 18:42:19 +0100 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-12-18 18:42:19 +0100 |
commit | 0def1b4e3223aead923308975450d400a52de2fe (patch) | |
tree | 09e13baa7edee7109bf3f1b291b99ab579b0daff /.github/workflows | |
parent | dbc16baf8079d1eb6a128be057071952374a5bd6 (diff) | |
download | ghdl-0def1b4e3223aead923308975450d400a52de2fe.tar.gz ghdl-0def1b4e3223aead923308975450d400a52de2fe.tar.bz2 ghdl-0def1b4e3223aead923308975450d400a52de2fe.zip |
ci: create builddir tarballs to reduce artifact download time
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/Test.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index cf04eec85..23c180b4b 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -279,14 +279,17 @@ jobs: run: | cd scripts/msys2-${{ matrix.pkg }} makepkg-mingw --noconfirm --noprogressbar -sCLf + for item in src pkg; do + tar czf msys2-${{ matrix.pkg }}."$item".tar.gz "$item" + done - name: '📤 Upload artifact: builddir' uses: actions/upload-artifact@v2 with: name: ${{ matrix.sys }}-${{ matrix.pkg }}-builddir path: | - scripts/msys2-${{ matrix.pkg }}/src/ - scripts/msys2-${{ matrix.pkg }}/pkg/ + scripts/msys2-${{ matrix.pkg }}.src.tar.gz + scripts/msys2-${{ matrix.pkg }}.pkg.tar.gz - name: '📤 Upload artifact: package' uses: actions/upload-artifact@v2 |