File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,19 @@ jobs:
12
12
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - name : Build
15
+ - name : Deploy
16
16
run : |
17
17
tagParts=(${GITHUB_REF//\// })
18
18
VERSION="${tagParts[2]}"
19
19
VERSION="${VERSION//v}"
20
20
nuget restore
21
21
cd sdk/Notifo.SDK/
22
22
msbuild Notifo.SDK.csproj /verbosity:normal /t:Rebuild /p:Configuration=Release /p:Version=$VERSION
23
+ dotnet nuget push bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
23
24
cd ../Notifo.SDK.FirebasePlugin/
24
25
msbuild Notifo.SDK.FirebasePlugin.csproj /verbosity:normal /t:Rebuild /p:Configuration=Release /p:Version=$VERSION
25
- - name : Publish NuGet
26
- run : |
27
- ls sdk/Notifo.SDK/bin/Release/
28
- ls sdk/Notifo.SDK.FirebasePlugin/bin/Release/
29
- dotnet nuget push sdk/Notifo.SDK/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
30
- dotnet nuget push sdk/Notifo.SDK.FirebasePlugin/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
26
+ dotnet nuget bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
27
+
28
+
31
29
32
30
You can’t perform that action at this time.
0 commit comments