;ci: don't bother tar-ing these binaries

This commit is contained in:
Simon Michael 2025-06-13 17:33:59 -10:00
parent 9c56c29fab
commit c3bd6f36b4

View File

@ -356,6 +356,7 @@ jobs:
# if: env.do-all
# ARTIFACTS
# not much needed, but relatively cheap to save and occasionally useful for troubleshooting ?
- name: Gather binaries
id: exes
@ -368,17 +369,16 @@ jobs:
strip hledger
strip hledger-ui
strip hledger-web
tar cvf hledger-linux-x64.tar hledger hledger-ui hledger-web
if: env.do-all
# upload-artifact loses execute permissions, so we tar the binaries to preserve them.
# github UI always zips artifacts when they are downloaded, so we don't bother compressing the tar.
# Unfortunately it means users must both unzip and untar.
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: hledger-linux-x64
path: tmp/hledger-linux-x64.tar
path: |
tmp/hledger
tmp/hledger-ui
tmp/hledger-web
if: env.do-all