From 2a0cbb6dc595549e8e5e152f70c03c9377aa6330 Mon Sep 17 00:00:00 2001 From: "m.samson" Date: Sat, 3 Jan 2026 11:00:28 +0200 Subject: [PATCH] - Added global propeties - Updated Deploy.yml --- .github/workflows/deploy.yml | 17 ++++++++++++++--- RELEASES.md | 2 ++ src/CoreMap/CoreMap.csproj | 10 +++++----- src/CoreMap/CoreMap.sln | 3 ++- src/CoreMap/Directory.Packages.props | 6 ++++++ 5 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 src/CoreMap/Directory.Packages.props diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5c1b56b..44ef8dd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy +name: Deploy on: workflow_run: workflows: ["Build"] @@ -13,6 +13,11 @@ concurrency: jobs: deploy-abstraction: runs-on: ubuntu-latest + + permissions: + id-token: write + contents: read + if: > github.event_name == 'workflow_dispatch' || ( @@ -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 diff --git a/RELEASES.md b/RELEASES.md index 99ab8dd..28b5807 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,4 +1,6 @@ README: https://github.com/mshimshon/CoreMap +# v1.1.2 +- Minor Fixes # v1.1.0 ## New Features diff --git a/src/CoreMap/CoreMap.csproj b/src/CoreMap/CoreMap.csproj index 1e7ca41..b0af557 100644 --- a/src/CoreMap/CoreMap.csproj +++ b/src/CoreMap/CoreMap.csproj @@ -12,15 +12,15 @@ Maksim Shimshon 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. - Maksim Shimshon © 2025 + $(GlobalCopyright) https://github.com/mshimshon/CoreMap/ RELEASES.md https://github.com/mshimshon/CoreMap/ mapping, object-mapper, dependency-injection, clean-architecture, dotnet, csharp, async, manual-mapping, design-patterns, software-architecture, lightweight - 1.1.1 + $(GlobalVersion) LICENSE True - ..\..\icon.png + icon.png @@ -58,9 +58,9 @@ - + - + diff --git a/src/CoreMap/CoreMap.sln b/src/CoreMap/CoreMap.sln index b9fb015..f51a3ad 100644 --- a/src/CoreMap/CoreMap.sln +++ b/src/CoreMap/CoreMap.sln @@ -1,7 +1,7 @@  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 @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution 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 diff --git a/src/CoreMap/Directory.Packages.props b/src/CoreMap/Directory.Packages.props new file mode 100644 index 0000000..52ab580 --- /dev/null +++ b/src/CoreMap/Directory.Packages.props @@ -0,0 +1,6 @@ + + + 1.1.2 + Maksim Shimshon © 2026 + + \ No newline at end of file