Skip to content

Commit

Permalink
Tar MSYS2 distribution archive to avoid EMFILE error
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Aug 28, 2024
1 parent c566c4a commit 3057e5e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/windows-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,14 @@ jobs:
run: |
make -C _build distmingw
- name: Upload GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}
- name: Tar GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}
shell: msys2 {0}
run: |
tar -cvf GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}.tar \
${{ env.GITHUB_WORKSPACE }}/_build/${{ env.DISTDIR }}
- name: Upload GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}.tar
uses: actions/upload-artifact@v4
with:
name: GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}
path: ${{ env.GITHUB_WORKSPACE }}/_build/${{ env.DISTDIR }}
name: GnuCOBOL_mingw-${{matrix.sys}}-${{matrix.target}}.tar
path: ${{ env.GITHUB_WORKSPACE }}/_build/${{ env.DISTDIR }}.tar

0 comments on commit 3057e5e

Please sign in to comment.