Skip to content

Commit

Permalink
Packages updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
hadevnet committed Aug 31, 2024
1 parent e3cb38d commit 18c7220
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/Packages.yml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ 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/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push ./src/BiUM.Core/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }} --no-symbols true

- name: Clear NuGet cache
run: dotnet nuget locals all --clear
@@ -51,15 +51,24 @@ jobs:
- 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/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push ./src/BiUM.Infrastructure/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }} --no-symbols true

- name: Clear NuGet cache
run: dotnet nuget locals all --clear

- name: Add GitHub Packages source
run: dotnet nuget add source https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json --name github --username ${GITHUB_REPOSITORY_OWNER} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text

- name: Wait for package propagation
run: sleep 30

# 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/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }}
run: dotnet nuget push ./src/BiUM.Specialized/bin/Release/*.nupkg --source "https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json" -k ${{ secrets.GITHUB_TOKEN }} --no-symbols true

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

0 comments on commit 18c7220

Please sign in to comment.