-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from jihadkhawaja/net8.0
Update Nuget.yml
- Loading branch information
Showing
1 changed file
with
2 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,8 @@ jobs: | |
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Prep packages | ||
run: dotnet nuget add source --username jihadkhawaja --password ${{ secrets.Egroo_GITHUB_PACKAGE }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jihadkhawaja/index.json" | ||
- name: Build and Pack NuGet package | ||
run: dotnet pack src/jihadkhawaja.mobilechat.client/jihadkhawaja.mobilechat.client.csproj -p:Version=${VERSION} -c Release | ||
- name: Upload NuGet package to GitHub | ||
|
@@ -61,22 +63,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: nugetPackageClient | ||
- name: Prep packages | ||
run: dotnet nuget add source --username jihadkhawaja --password ${{ secrets.Egroo_GITHUB_PACKAGE }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jihadkhawaja/index.json" | ||
- name: Push package to GitHub packages | ||
run: dotnet nuget push nugetPackageClient/*.nupkg --api-key ${{ secrets.Egroo_GITHUB_PACKAGE }} --source "github" | ||
|
||
- name: Publish nuget package | ||
run: dotnet nuget push nugetPackageClient/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json | ||
|
||
#Build/pack the project | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Build and Pack NuGet package | ||
run: dotnet pack src/jihadkhawaja.mobilechat.server/jihadkhawaja.mobilechat.server.csproj -p:Version=${VERSION} -c Release | ||
- name: Upload NuGet package to GitHub | ||
|
@@ -90,8 +82,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: nugetPackageServer | ||
- name: Prep packages | ||
run: dotnet nuget add source --username jihadkhawaja --password ${{ secrets.Egroo_GITHUB_PACKAGE }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jihadkhawaja/index.json" | ||
- name: Push package to GitHub packages | ||
run: dotnet nuget push nugetPackageServer/*.nupkg --api-key ${{ secrets.Egroo_GITHUB_PACKAGE }} --source "github" | ||
|
||
|