Update CI to clean directory structures

e.g. instead of the tar containing TShockLauncher/bin/Release/ etc, files should be in the root
This commit is contained in:
Luke 2022-07-29 16:55:33 +10:00
parent 578df18901
commit fc83d4af6c

View file

@ -45,7 +45,9 @@ jobs:
# preserve file perms: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files # preserve file perms: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
- name: Archive artifact - 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 - uses: actions/upload-artifact@v2
with: with: