fix this cringe with rids

This commit is contained in:
zznty
2024-01-08 19:40:44 +07:00
parent 5fac281f37
commit 29bfcced62
7 changed files with 52 additions and 11 deletions

View File

@@ -77,10 +77,8 @@ jobs:
- name: Restore dependencies
run: dotnet restore Torch.Server/Torch.Server.csproj --locked-mode
- name: Build
run: dotnet build Torch.Server/Torch.Server.csproj --no-restore -c ${{ env.BUILD_CONFIGURATION }} -p:Version="${{ needs.get-version.outputs.version }}" -p:AssemblyVersion="${{ needs.get-version.outputs.version }}"
- name: Publish
run: dotnet publish Torch.Server/Torch.Server.csproj --no-build --sc -c ${{ env.BUILD_CONFIGURATION }} -o ./publish
run: dotnet publish Torch.Server/Torch.Server.csproj --no-restore --sc -c ${{ env.BUILD_CONFIGURATION }} -o ./publish -p:Version="${{ needs.get-version.outputs.version }}" -p:AssemblyVersion="${{ needs.get-version.outputs.version }}"
- uses: vimtor/action-zip@v1
name: Zip Release