-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 890 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release
on:
release:
types: [published]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
jobs:
push_to_nuget:
name: Push to NuGet Feed
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.release.target_commitish }}
- name: Download release assets
uses: Itsblue/download-release-assets-action@master
with:
repo: ${{ github.repository }}
version: ${{ github.event.release.id }}
file: "Sknet.*"
path: ./artifacts
token: ${{ secrets.GITHUB_TOKEN }}
- name: Push assets to NuGet
run: >
./build.sh
--target PublishToNuGetFeed
--skip PublishSdkArtifacts
--nuget-api-key ${{ secrets.NUGET_APIKEY }}
--nuget-source ${{ secrets.NUGET_SOURCE }}