Skip to content

Commit f01afe0

Browse files
fix: change name of package
1 parent 99549e1 commit f01afe0

File tree

4 files changed

+44
-44
lines changed

4 files changed

+44
-44
lines changed

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: Contracts package workflow
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
paths:
7-
- 'Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Fitnet.Contracts.IntegrationEvents/**'
7+
- "Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Fitnet.Contracts.IntegrationEvents/**"
88
pull_request:
9-
branches: [ "main" ]
9+
branches: ["main"]
1010
paths:
11-
- 'Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Fitnet.Contracts.IntegrationEvents/**'
11+
- "Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Fitnet.Contracts.IntegrationEvents/**"
1212

1313
env:
14-
CHAPTER_DIR: 'Chapter-3-microservice-extraction/Fitnet.Contracts/Src'
15-
NUGET_SOURCE_NAME: "evolutionaryArchitecture"
14+
CHAPTER_DIR: "Chapter-3-microservice-extraction/Fitnet.Contracts/Src"
15+
NUGET_SOURCE_NAME: "EvolutionaryArchitecture"
1616

1717
jobs:
1818
build:
@@ -22,22 +22,22 @@ jobs:
2222
runs-on: ubuntu-latest
2323
name: Build
2424
steps:
25-
- uses: actions/checkout@v3
26-
- name: Setup .NET
27-
uses: actions/setup-dotnet@v3
28-
with:
29-
dotnet-version: 9.0.x
30-
- name: Add Evolutionary Architecture Nuget Source
31-
uses: evolutionary-architecture/evolutionary-architecture-by-example/.github@main
32-
with:
25+
- uses: actions/checkout@v3
26+
- name: Setup .NET
27+
uses: actions/setup-dotnet@v3
28+
with:
29+
dotnet-version: 9.0.x
30+
- name: Add Evolutionary Architecture Nuget Source
31+
uses: evolutionary-architecture/evolutionary-architecture-by-example/.github@main
32+
with:
3333
github-token: ${{ secrets.GITHUB_TOKEN }}
3434
owner: ${{ github.repository_owner }}
3535
path: ${{ env.CHAPTER_DIR }}
3636
nuget-source-name: ${{ env.NUGET_SOURCE_NAME }}
37-
- name: Restore dependencies
38-
run: dotnet restore
39-
- name: Build
40-
run: dotnet build --no-restore
37+
- name: Restore dependencies
38+
run: dotnet restore
39+
- name: Build
40+
run: dotnet build --no-restore
4141

4242
pack:
4343
defaults:
@@ -48,19 +48,19 @@ jobs:
4848
if: github.ref == 'refs/heads/main'
4949
name: Pack and Publish
5050
steps:
51-
- uses: actions/checkout@v3
52-
- name: Setup .NET
53-
uses: actions/setup-dotnet@v3
54-
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:
51+
- uses: actions/checkout@v3
52+
- name: Setup .NET
53+
uses: actions/setup-dotnet@v3
54+
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:
5959
github-token: ${{ secrets.GITHUB_TOKEN }}
6060
owner: ${{ github.repository_owner }}
6161
path: ${{ env.CHAPTER_DIR }}
6262
nuget-source-name: ${{ env.NUGET_SOURCE_NAME }}
63-
- name: Pack Project
64-
run: dotnet pack Fitnet.Contracts.IntegrationEvents/Fitnet.Contracts.IntegrationEvents.csproj -c Release
65-
- name: Publish Packages
66-
run: dotnet nuget push "Fitnet.Contracts.IntegrationEvents/bin/Release/EvolutionaryArchitecture.Fitnet.Contracts.IntegrationEvents.*.nupkg" --source ${{ env.NUGET_SOURCE_NAME }} --api-key ${{ secrets.GITHUB_TOKEN }}
63+
- name: Pack Project
64+
run: dotnet pack Fitnet.Contracts.IntegrationEvents/Fitnet.Contracts.IntegrationEvents.csproj -c Release
65+
- name: Publish Packages
66+
run: dotnet nuget push "Fitnet.Contracts.IntegrationEvents/bin/Release/EvolutionaryArchitecture.Fitnet.Contracts.IntegrationEvents.*.nupkg" --source ${{ env.NUGET_SOURCE_NAME }} --api-key ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111

1212
env:
1313
CHAPTER_DIR: "Chapter-3-microservice-extraction/Fitnet.Contracts/Src"
14-
NUGET_SOURCE_NAME: "evolutionaryArchitecture"
15-
14+
NUGET_SOURCE_NAME: "EvolutionaryArchitecture"
15+
1616
jobs:
1717
build:
1818
defaults:

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Chapter 3 package workflow
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
paths:
7-
- 'Chapter-3-microservice-extraction/Fitnet.Common/**'
7+
- "Chapter-3-microservice-extraction/Fitnet.Common/**"
88
pull_request:
9-
branches: [ "main" ]
9+
branches: ["main"]
1010
paths:
11-
- 'Chapter-3-microservice-extraction/Fitnet.Common/**'
11+
- "Chapter-3-microservice-extraction/Fitnet.Common/**"
1212

1313
env:
14-
CHAPTER_DIR: 'Chapter-3-microservice-extraction/Fitnet.Common'
15-
NUGET_SOURCE_NAME: "evolutionaryArchitecture"
14+
CHAPTER_DIR: "Chapter-3-microservice-extraction/Fitnet.Common"
15+
NUGET_SOURCE_NAME: "EvolutionaryArchitecture"
1616

17-
jobs:
17+
jobs:
1818
build:
1919
defaults:
2020
run:
@@ -31,7 +31,7 @@ jobs:
3131
run: dotnet restore
3232
- name: Build
3333
run: dotnet build --no-restore
34-
34+
3535
test:
3636
defaults:
3737
run:
@@ -51,7 +51,7 @@ jobs:
5151
- name: Test
5252
run: dotnet test
5353

54-
pack:
54+
pack:
5555
defaults:
5656
run:
5757
working-directory: ${{ env.CHAPTER_DIR }}
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/setup-dotnet@v3
6666
with:
6767
dotnet-version: 9.0.x
68-
68+
6969
- name: Pack Projects
7070
run: |
7171
dotnet pack Fitnet.Common.Api/Fitnet.Common.Api.csproj -c Release
@@ -80,7 +80,7 @@ jobs:
8080
owner: ${{ github.repository_owner }}
8181
path: ${{ env.CHAPTER_DIR }}
8282
nuget-source-name: ${{ env.NUGET_SOURCE_NAME }}
83-
83+
8484
- name: Publish Packages
8585
run: |
8686
dotnet nuget push "Fitnet.Common.Api/bin/Release/EvolutionaryArchitecture.Fitnet.Common.Api.*.nupkg" --source ${{ env.NUGET_SOURCE_NAME }} --api-key ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
CHAPTER_DIR: "Chapter-3-microservice-extraction/Fitnet/Src"
15-
NUGET_SOURCE_NAME: "evolutionaryArchitecture"
15+
NUGET_SOURCE_NAME: "EvolutionaryArchitecture"
1616

1717
jobs:
1818
build:

0 commit comments

Comments
 (0)