Skip to content

Commit

Permalink
Using github token
Browse files Browse the repository at this point in the history
  • Loading branch information
hadevnet committed Aug 31, 2024
1 parent 4d16e16 commit 8e0c8c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ jobs:
- name: Pack BiUM.Core
run: dotnet pack ./src/BiUM.Core/BiUM.Core.csproj -c Release -o nupkg
- name: Publish BiUM.Core
run: dotnet nuget push ./src/BiUM.Core/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.SECRET_KEY }}
run: dotnet nuget push ./src/BiUM.Core/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.GITHUB_TOKEN }}

# Build and publish BiUM.Infrastructure
- name: Build BiUM.Infrastructure
run: dotnet build ./src/BiUM.Infrastructure/BiUM.Infrastructure.csproj -c Release
- name: Pack BiUM.Infrastructure
run: dotnet pack ./src/BiUM.Infrastructure/BiUM.Infrastructure.csproj -c Release -o nupkg
- name: Publish BiUM.Infrastructure
run: dotnet nuget push ./src/BiUM.Infrastructure/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.SECRET_KEY }}
run: dotnet nuget push ./src/BiUM.Infrastructure/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.GITHUB_TOKEN }}

# Build and publish BiUM.Specialized
- name: Build BiUM.Specialized
run: dotnet build ./src/BiUM.Specialized/BiUM.Specialized.csproj -c Release
- name: Pack BiUM.Specialized
run: dotnet pack ./src/BiUM.Specialized/BiUM.Specialized.csproj -c Release -o nupkg
- name: Publish BiUM.Specialized
run: dotnet nuget push ./src/BiUM.Specialized/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.SECRET_KEY }}
run: dotnet nuget push ./src/BiUM.Specialized/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/hadevnet/index.json" -k ${{ secrets.GITHUB_TOKEN }}

# Restore dependencies after publishing internal packages
- name: Restore dependencies
Expand Down

0 comments on commit 8e0c8c1

Please sign in to comment.