Skip to content

Commit 818bd51

Browse files
2 parents 43a2306 + 5cd6748 commit 818bd51

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Build
15+
- name: Deploy
1616
run: |
1717
tagParts=(${GITHUB_REF//\// })
1818
VERSION="${tagParts[2]}"
1919
VERSION="${VERSION//v}"
2020
nuget restore
2121
cd sdk/Notifo.SDK/
22-
msbuild Notifo.SDK.csproj /verbosity:normal /t:Rebuild /p:Configuration=Release /p:Version=$VERSION /p:OutputPath=../../Core
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
2324
cd ../Notifo.SDK.FirebasePlugin/
24-
msbuild Notifo.SDK.FirebasePlugin.csproj /verbosity:normal /t:Rebuild /p:Configuration=Release /p:Version=$VERSION /p:OutputPath=../../FirebasePlugin
25-
- name: Publish NuGet
26-
run: |
27-
dotnet nuget push Core/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
28-
dotnet nuget push FirebasePlugin/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
25+
msbuild Notifo.SDK.FirebasePlugin.csproj /verbosity:normal /t:Rebuild /p:Configuration=Release /p:Version=$VERSION
26+
dotnet nuget push bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
27+
28+
2929
3030

0 commit comments

Comments
 (0)