Added support for saving multiple aggregates at once (#19) #5
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
name: publish nuget package | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ vars.DOTNET_VERSION }} | |
- name: Build sln to generate nupkg | |
run: dotnet build | |
- name: Publish NuGet package | |
run: | | |
for file in ${{ vars.PACKAGE_DIRECTORY }}/*.nupkg; do | |
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source ${{ vars.NUGET_SOURCE }}; | |
done |