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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Deploy
on:
workflow_run:
workflows: ["Build"]
Expand All @@ -13,6 +13,11 @@ concurrency:
jobs:
deploy-abstraction:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

if: >
github.event_name == 'workflow_dispatch' ||
(
Expand Down Expand Up @@ -42,6 +47,12 @@ jobs:

- name: Pack CoreMap
run: dotnet pack src/CoreMap/CoreMap.csproj -c Release --no-build -o ./artifacts


- name: NuGet login (OIDC → temp API key)
uses: NuGet/login@v1
id: login
with:
user: ${{ secrets.NUGET_USER }}

- name: Push CoreMap
run: dotnet nuget push ./artifacts/CoreMap.*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push ./artifacts/CoreMap.*.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}}} --source https://api.nuget.org/v3/index.json --skip-duplicate
2 changes: 2 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
README: https://github.com/mshimshon/CoreMap
# v1.1.2
- Minor Fixes

# v1.1.0
## New Features
Expand Down
10 changes: 5 additions & 5 deletions src/CoreMap/CoreMap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<Authors>Maksim Shimshon</Authors>
<Description>CoreMap is a lightweight, di friendly object mapping library designed for Clean Architecture in modern .NET applications. It promotes manual mapping via handler classes, encouraging full control, maintainability, and testability.
</Description>
<Copyright>Maksim Shimshon © 2025</Copyright>
<Copyright>$(GlobalCopyright)</Copyright>
<PackageProjectUrl>https://github.com/mshimshon/CoreMap/</PackageProjectUrl>
<PackageReadmeFile>RELEASES.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/mshimshon/CoreMap/</RepositoryUrl>
<PackageTags>mapping, object-mapper, dependency-injection, clean-architecture, dotnet, csharp, async, manual-mapping, design-patterns, software-architecture, lightweight</PackageTags>
<Version>1.1.1</Version>
<Version>$(GlobalVersion)</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageIcon>..\..\icon.png</PackageIcon>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -58,9 +58,9 @@
<ItemGroup>
<PackageFiles Include="$(PackageOutputPath)$(PackageId).$(PackageVersion).nupkg" />
</ItemGroup>
<ItemGroup Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<ItemGroup Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<MakeDir Directories="..\..\..\..\nupkgs" />
<Copy SourceFiles="@(PackageFiles)" DestinationFolder="..\..\..\..\nupkgs" OverwriteReadOnlyFiles="true" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(PackageFiles)" DestinationFolder="..\..\..\..\nupkgs" OverwriteReadOnlyFiles="true" SkipUnchangedFiles="false" />
</ItemGroup>

</Target>
Expand Down
3 changes: 2 additions & 1 deletion src/CoreMap/CoreMap.sln
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 18
VisualStudioVersion = 18.0.11222.15 d18.0
VisualStudioVersion = 18.0.11222.15
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreMap", "CoreMap.csproj", "{8BC914B8-CAE4-4209-A1D7-17496A11AE4E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}"
ProjectSection(SolutionItems) = preProject
..\..\.github\workflows\ci.yml = ..\..\.github\workflows\ci.yml
..\..\.github\workflows\deploy.yml = ..\..\.github\workflows\deploy.yml
Directory.Packages.props = Directory.Packages.props
..\..\README.md = ..\..\README.md
..\..\RELEASES.md = ..\..\RELEASES.md
EndProjectSection
Expand Down
6 changes: 6 additions & 0 deletions src/CoreMap/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<GlobalVersion>1.1.2</GlobalVersion>
<GlobalCopyright>Maksim Shimshon � 2026</GlobalCopyright>
</PropertyGroup>
</Project>