Redo launcher csproj and action to use framework dependent builds

This also includes package updates across the entire solution, which shouldn't matter at this stage on this branch.
This commit is contained in:
Luke 2022-07-27 21:53:09 +10:00
parent 49a2dce59e
commit 578df18901
7 changed files with 24 additions and 80 deletions

View file

@ -36,12 +36,12 @@ jobs:
- name: Produce build
run: |
cd TShockLauncher
dotnet publish -r ${{ matrix.arch }} -f net6.0 -c Release -p:PublishSingleFile=true --self-contained true
dotnet publish -r ${{ matrix.arch }} -f net6.0 -c Release -p:PublishSingleFile=true --self-contained false
- name: Chmod scripts
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/TShock.Server
# preserve file perms: https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files
- name: Archive artifact