Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: CI / CD
name: CI

on:
push:
branches: [main, develop]
tags: ['v*']
pull_request:
branches: [main, develop]
tags:
- 'v*'

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand Down Expand Up @@ -59,7 +58,7 @@ jobs:
name: Determine Version
runs-on: ubuntu-latest
needs: build-and-test
if: github.event_name == 'push' || github.event_name == 'tag'
if: github.event_name == 'push'
outputs:
version: ${{ steps.version.outputs.version }}
is_release: ${{ steps.version.outputs.is_release }}
Expand Down Expand Up @@ -89,10 +88,12 @@ jobs:
if: needs.version.outputs.is_release == 'true'
strategy:
matrix:
# Folder and assembly name match, so one value drives both the csproj
# path and the artifact name (artifact names cannot contain "/").
project:
- src/BeyondNetCode.Shell.Ddd/BeyondNetCode.Shell.Ddd.csproj
- src/BeyondNetCode.Shell.Ddd.ValueObjects/BeyondNetCode.Shell.Ddd.ValueObjects.csproj
- src/BeyondNetCode.Shell.Ddd.AutoMapper/BeyondNetCode.Shell.Ddd.AutoMapper.csproj
- BeyondNetCode.Shell.Ddd
- BeyondNetCode.Shell.Ddd.ValueObjects
- BeyondNetCode.Shell.Ddd.AutoMapper
steps:
- uses: actions/checkout@v4

Expand All @@ -103,10 +104,9 @@ jobs:

- name: Pack
run: |
dotnet pack "${{ matrix.project }}" \
dotnet pack "${{ matrix.project }}/${{ matrix.project }}.csproj" \
-c Release \
--version:${{ needs.version.outputs.version }} \
--no-build \
-p:PackageVersion=${{ needs.version.outputs.version }} \
-p:PackageOutputPath=${{ github.workspace }}/nupkgs

- name: Upload artifacts
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: [version]
needs: [version, publish]
if: needs.version.outputs.is_release == 'true'
steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
</ItemGroup>

<ItemGroup>
<None Include="../../LICENSE">
<None Include="../LICENSE">
<Pack>True</Pack>
<PackagePath>LICENSE</PackagePath>
<PackagePath>/</PackagePath>
</None>
<None Include="../../README.md">
<None Include="../README.md">
<Pack>True</Pack>
<PackagePath>README.md</PackagePath>
</None>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v10.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v10.0": {
"BeyondNetCode.Shell.Ddd.AutoMapper/1.0.0": {
"dependencies": {
"AutoMapper": "12.0.1",
"BeyondNetCode.Shell.Ddd": "9.9.9-test"
},
"runtime": {
"BeyondNetCode.Shell.Ddd.AutoMapper.dll": {}
}
},
"AutoMapper/12.0.1": {
"runtime": {
"lib/netstandard2.1/AutoMapper.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.1.0"
}
}
},
"MediatR/12.4.1": {
"dependencies": {
"MediatR.Contracts": "2.0.1",
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
},
"runtime": {
"lib/net6.0/MediatR.dll": {
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.4.1.0"
}
}
},
"MediatR.Contracts/2.0.1": {
"runtime": {
"lib/netstandard2.0/MediatR.Contracts.dll": {
"assemblyVersion": "2.0.1.0",
"fileVersion": "2.0.1.0"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"BeyondNetCode.Shell.Ddd/9.9.9-test": {
"dependencies": {
"MediatR": "12.4.1"
},
"runtime": {
"BeyondNetCode.Shell.Ddd.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"BeyondNetCode.Shell.Ddd.AutoMapper/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"AutoMapper/12.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hvV62vl6Hp/WfQ24yzo3Co9+OPl8wH8hApwVtgWpiAynVJkUcs7xvehnSftawL8Pe8FrPffBRM3hwzLQqWDNjA==",
"path": "automapper/12.0.1",
"hashPath": "automapper.12.0.1.nupkg.sha512"
},
"MediatR/12.4.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0tLxCgEC5+r1OCuumR3sWyiVa+BMv3AgiU4+pz8xqTc+2q1WbUEXFOr7Orm96oZ9r9FsldgUtWvB2o7b9jDOaw==",
"path": "mediatr/12.4.1",
"hashPath": "mediatr.12.4.1.nupkg.sha512"
},
"MediatR.Contracts/2.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FYv95bNT4UwcNA+G/J1oX5OpRiSUxteXaUt2BJbRSdRNiIUNbggJF69wy6mnk2wYToaanpdXZdCwVylt96MpwQ==",
"path": "mediatr.contracts/2.0.1",
"hashPath": "mediatr.contracts.2.0.1.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"BeyondNetCode.Shell.Ddd/9.9.9-test": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading