From fc83d4af6c749be167168aed75eb3fcac0204e71 Mon Sep 17 00:00:00 2001 From: Luke Date: Fri, 29 Jul 2022 16:55:33 +1000 Subject: [PATCH] Update CI to clean directory structures e.g. instead of the tar containing TShockLauncher/bin/Release/ etc, files should be in the root --- .github/workflows/ci-otapi3.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-otapi3.yml b/.github/workflows/ci-otapi3.yml index dd45716a..72414ef5 100644 --- a/.github/workflows/ci-otapi3.yml +++ b/.github/workflows/ci-otapi3.yml @@ -45,7 +45,9 @@ jobs: # 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/ + run: | + cd TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish/ + tar -cvf ../../../../../../TShock-Beta-${{ matrix.arch }}-Release.tar * - uses: actions/upload-artifact@v2 with: