From 3f23698e38be48ff817428ba94ebd90e09fc0e7f Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Mon, 20 Jan 2025 15:42:16 +0100 Subject: [PATCH] Preserve executable permissions in archive --- .github/workflows/haskell.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index d3be2bc..9c16639 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -65,10 +65,11 @@ jobs: - name: 🛠 Build run: | ./build.hs + tar cvf artifact.tar -C bin * - - name: 🚢 Upload artifact - uses: actions/upload-artifact@v3 + - name: 🚢 Upload archive + uses: actions/upload-artifact@v4.4.0 with: name: db-server-${{ steps.tag.outputs.value }}-${{ matrix.arch }}-${{ matrix.os }} - path: | - bin/db-server + path: bin/artifact.tar + overwrite: true