From 20c612d0b280fedfdae87d9c5dc1394bd6c8d822 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 5 Mar 2025 18:21:31 -1000 Subject: [PATCH] ;fix:ci: add the man pages and info manuals to the unix bindists [#2309] --- .github/workflows/binaries-linux-x64.yml | 3 ++- .github/workflows/binaries-mac-arm64.yml | 3 ++- .github/workflows/binaries-mac-x64.yml | 3 ++- .github/workflows/binaries-windows-x64.yml | 7 ++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/binaries-linux-x64.yml b/.github/workflows/binaries-linux-x64.yml index 70c74181d..8022486e1 100644 --- a/.github/workflows/binaries-linux-x64.yml +++ b/.github/workflows/binaries-linux-x64.yml @@ -78,7 +78,8 @@ jobs: strip tmp/hledger strip tmp/hledger-ui strip tmp/hledger-web - tar -C tmp cvf hledger-linux-x64.tar hledger hledger-ui hledger-web hledger-completion.bash + cd tmp + tar cvf hledger-linux-x64.tar hledger hledger-ui hledger-web *.1 *.info hledger-completion.bash # 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. diff --git a/.github/workflows/binaries-mac-arm64.yml b/.github/workflows/binaries-mac-arm64.yml index 10165c08a..c9378366e 100644 --- a/.github/workflows/binaries-mac-arm64.yml +++ b/.github/workflows/binaries-mac-arm64.yml @@ -166,7 +166,8 @@ jobs: strip tmp/hledger strip tmp/hledger-ui strip tmp/hledger-web - tar -C tmp cvf hledger-mac-arm64.tar hledger hledger-ui hledger-web hledger-completion.bash + cd tmp + tar cvf hledger-mac-arm64.tar hledger hledger-ui hledger-web *.1 *.info hledger-completion.bash # 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. diff --git a/.github/workflows/binaries-mac-x64.yml b/.github/workflows/binaries-mac-x64.yml index d89340b05..3ad623b07 100644 --- a/.github/workflows/binaries-mac-x64.yml +++ b/.github/workflows/binaries-mac-x64.yml @@ -153,7 +153,8 @@ jobs: strip tmp/hledger strip tmp/hledger-ui strip tmp/hledger-web - tar -C tmp cvf hledger-mac-x64.tar hledger hledger-ui hledger-web hledger-completion.bash + cd tmp + tar cvf hledger-mac-x64.tar hledger hledger-ui hledger-web *.1 *.info hledger-completion.bash # 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. diff --git a/.github/workflows/binaries-windows-x64.yml b/.github/workflows/binaries-windows-x64.yml index fcb17c054..b2c363379 100644 --- a/.github/workflows/binaries-windows-x64.yml +++ b/.github/workflows/binaries-windows-x64.yml @@ -150,12 +150,13 @@ jobs: cp /C/Users/runneradmin/AppData/Roaming/local/bin/hledger.exe tmp cp /C/Users/runneradmin/AppData/Roaming/local/bin/hledger-ui.exe tmp cp /C/Users/runneradmin/AppData/Roaming/local/bin/hledger-web.exe tmp - cp hledger/embeddedfiles/*.1 tmp - cp hledger/embeddedfiles/*.info tmp - cp hledger/shell-completion/hledger-completion.bash tmp strip tmp/hledger.exe strip tmp/hledger-ui.exe strip tmp/hledger-web.exe + # Guessing these are not likely to be used on windows. + # cp hledger/embeddedfiles/*.1 tmp + # cp hledger/embeddedfiles/*.info tmp + # cp hledger/shell-completion/hledger-completion.bash tmp - name: Create binaries artifact uses: actions/upload-artifact@v4