Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
e320d8fbd5 | |||
2d28ce7415 | |||
fd64c77aed |
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
@@ -42,6 +42,19 @@ jobs:
|
||||
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
|
||||
|
||||
@@ -63,7 +76,7 @@ jobs:
|
||||
SLEET_FEED_SERVICEURL: https://storage.yandexcloud.net
|
||||
SLEET_FEED_ACCESSKEYID: ${{ secrets.S3_KEY_ID }}
|
||||
SLEET_FEED_SECRETACCESSKEY: ${{ secrets.S3_KEY }}
|
||||
run: sleet push ./pack
|
||||
run: /root/.dotnet/tools/sleet push ./pack
|
||||
|
||||
build:
|
||||
name: Build and Publish Package
|
||||
|
Reference in New Issue
Block a user