CI - tar release to preserve permissions
Hopefully...
This commit is contained in:
parent
dbad25894e
commit
f9ab45b571
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ci-otapi3.yml
vendored
7
.github/workflows/ci-otapi3.yml
vendored
|
|
@ -48,9 +48,12 @@ jobs:
|
||||||
if: ${{ matrix.arch != 'win-x64' }}
|
if: ${{ matrix.arch != 'win-x64' }}
|
||||||
run: |
|
run: |
|
||||||
chmod +x TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish/TShock.sh
|
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
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: TShock-Beta-${{ matrix.arch }}-Release
|
name: TShock-Beta-${{ matrix.arch }}-Release
|
||||||
path: TShockLauncher/bin/Release/net6.0/${{ matrix.arch }}/publish
|
path: TShock-Beta-${{ matrix.arch }}-Release.tar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue