1313
1414env :
1515 CHAPTER_DIR : " Chapter-4-applying-tactical-domain-driven-design/Fitnet/Src"
16- NUGET_SOURCE_NAME : " evolutionaryArchitecture "
16+ NUGET_SOURCE_NAME : " EvolutionaryArchitecture "
1717
1818jobs :
1919 build :
@@ -29,13 +29,13 @@ jobs:
2929 uses : actions/setup-dotnet@v3
3030 with :
3131 dotnet-version : 10.0.x
32- - name : Add Evolutionary Architecture Nuget Source
33- uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
34- with :
35- github-token : ${{ secrets.GITHUB_TOKEN }}
36- owner : ${{ github.repository_owner }}
37- path : ${{ env.CHAPTER_DIR }}
38- nuget-source-name : ${{ env.NUGET_SOURCE_NAME }}
32+ - name : Authenticate to GitHub Packages
33+ run : |
34+ dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} \
35+ --username ${{ github.actor }} \
36+ --password ${{ secrets.GITHUB_TOKEN }} \
37+ --store-password-in-clear-text \
38+ --configfile nuget.config
3939 - name : Restore dependencies
4040 run : dotnet restore
4141 - name : Build
@@ -54,14 +54,13 @@ jobs:
5454 uses : actions/setup-dotnet@v3
5555 with :
5656 dotnet-version : 10.0.x
57- - name : Add Evolutionary Architecture Nuget Source
58- uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
59- with :
60- github-token : ${{ secrets.GITHUB_TOKEN }}
61- owner : ${{ github.repository_owner }}
62- path : ${{ env.CHAPTER_DIR }}
63- nuget-source-name : ${{ env.NUGET_SOURCE_NAME }}
64-
57+ - name : Authenticate to GitHub Packages
58+ run : |
59+ dotnet nuget update source ${{ env.NUGET_SOURCE_NAME }} \
60+ --username ${{ github.actor }} \
61+ --password ${{ secrets.GITHUB_TOKEN }} \
62+ --store-password-in-clear-text \
63+ --configfile nuget.config
6564 - name : Restore dependencies
6665 run : dotnet restore
6766 - name : Test
0 commit comments