Skip to content

Commit d2618aa

Browse files
authored
Update chapter-3-contracts-workflow.yml
1 parent 08f8962 commit d2618aa

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/chapter-3-contracts-workflow.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,11 @@ jobs:
4949
uses: actions/setup-dotnet@v3
5050
with:
5151
dotnet-version: 8.0.x
52-
- name: Clear Configuration Evolutionary Architecture Nuget Source
53-
run: dotnet nuget remove source evolutionaryArchitecture
5452
- name: Add Evolutionary Architecture Nuget Source
55-
run: |
56-
dotnet nuget add source --username $OWNER --password $GITHUB_TOKEN --store-password-in-clear-text --name github "https://nuget.pkg.github.com/$OWNER/index.json"
57-
dotnet nuget list source
58-
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
OWNER: ${{ github.repository_owner }}
53+
uses: evolutionary-architecture/evolutionary-architecture-by-example/.github@feature/nuget_config
54+
with:
55+
github-token: ${{ secrets.GITHUB_TOKEN }}
56+
owner: ${{ github.repository_owner }}
6157
- name: Restore dependencies
6258
run: dotnet restore
6359
- name: Test

0 commit comments

Comments
 (0)