Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2d28ce7415 | |||
fd64c77aed |
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
@@ -41,6 +41,19 @@ jobs:
|
||||
name: Setup dotnet
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- name: Intall mono
|
||||
run: |
|
||||
curl -fsSL https://download.mono-project.com/repo/xamarin.gpg | gpg --dearmor -o /usr/share/keyrings/mono-official-stable.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/mono-official-stable.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" > /etc/apt/sources.list.d/mono-official-stable.list
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends apt-transport-https mono-complete
|
||||
|
||||
|
||||
- uses: nuget/setup-nuget@v1
|
||||
name: Setup nuget cli
|
||||
with:
|
||||
nuget-version: '5.x'
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore Torch.Server/Torch.Server.csproj --locked-mode
|
||||
|
Reference in New Issue
Block a user