mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-18 04:04:34 +03:00
fix download from github on some networks
This commit is contained in:
@@ -143,10 +143,10 @@ jobs:
|
||||
- name: Compress with UPX
|
||||
if: matrix.goos == 'linux' || matrix.goos == 'windows'
|
||||
run: |
|
||||
# -9 alone (no --lzma) is ~4× faster, only ~5% larger.
|
||||
# xargs -P fans out across all CPUs.
|
||||
# Keep best/lzma for small binaries; xargs -P does them
|
||||
# in parallel across CPUs so wall time stays low.
|
||||
find build -maxdepth 1 -type f -print0 \
|
||||
| xargs -0 -n1 -P "$(nproc)" -I{} sh -c 'upx -9 "$1" || true' _ {}
|
||||
| xargs -0 -n1 -P "$(nproc)" -I{} sh -c 'upx --best --lzma "$1" || true' _ {}
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user