1212
1313env :
1414 CHAPTER_DIR : " Chapter-4-applying-tactical-domain-driven-design/Fitnet.Contracts/Src"
15- NUGET_SOURCE_NAME : " evolutionaryArchitecture "
15+ NUGET_SOURCE_NAME : " EvolutionaryArchitecture "
1616
1717jobs :
1818 build :
@@ -27,14 +27,14 @@ jobs:
2727 - name : Setup .NET
2828 uses : actions/setup-dotnet@v3
2929 with :
30- dotnet-version : 9 .0.x
31- - name : Add Evolutionary Architecture Nuget Source
32- uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
33- with :
34- github-token : ${{ secrets.GITHUB_TOKEN }}
35- owner : ${{ github.repository_owner }}
36- path : ${{ env.CHAPTER_DIR }}
37- nuget-source-name : ${{ env.NUGET_SOURCE_NAME }}
30+ dotnet-version : 10 .0.x
31+ - name : Authenticate to GitHub Packages
32+ run : |
33+ dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} \
34+ --username ${{ github.actor }} \
35+ --password ${{ secrets.GITHUB_TOKEN }} \
36+ --store-password-in-clear-text \
37+ --configfile nuget.config
3838 - name : Restore dependencies
3939 run : dotnet restore
4040 - name : Build
@@ -52,14 +52,14 @@ jobs:
5252 - name : Setup .NET
5353 uses : actions/setup-dotnet@v3
5454 with :
55- dotnet-version : 9 .0.x
56- - name : Add Evolutionary Architecture Nuget Source
57- uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
58- with :
59- github-token : ${{ secrets.GITHUB_TOKEN }}
60- owner : ${{ github.repository_owner }}
61- path : ${{ env.CHAPTER_DIR }}
62- nuget-source-name : ${{ env.NUGET_SOURCE_NAME }}
55+ dotnet-version : 10 .0.x
56+ - name : Authenticate to GitHub Packages
57+ run : |
58+ dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} \
59+ --username ${{ github.actor }} \
60+ --password ${{ secrets.GITHUB_TOKEN }} \
61+ --store-password-in-clear-text \
62+ --configfile nuget.config
6363 - name : Restore dependencies
6464 run : dotnet restore
6565 - name : Test
0 commit comments