From f9ab45b571cf1e60dbeaf22f6138b89d4835ae15 Mon Sep 17 00:00:00 2001 From: Luke Date: Fri, 3 Dec 2021 10:38:30 +1000 Subject: [PATCH] CI - tar release to preserve permissions Hopefully... --- .github/workflows/ci-otapi3.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-otapi3.yml b/.github/workflows/ci-otapi3.yml index b289d56f..92fe5c7f 100644 --- a/.github/workflows/ci-otapi3.yml +++ b/.github/workflows/ci-otapi3.yml @@ -48,9 +48,12 @@ jobs: if: ${{ matrix.arch != 'win-x64' }} run: | chmod +x TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish/TShock.sh - chmod +x TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish/bin/TShock.Run + + # preserve file perms: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files + - name: Archive artifact + run: tar -cvf TShock-Beta-${{ matrix.arch }}-Release.tar TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish/ - uses: actions/upload-artifact@v2 with: name: TShock-Beta-${{ matrix.arch }}-Release - path: TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish + path: TShock-Beta-${{ matrix.arch }}-Release.tar