diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..2a3da5d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Publish NuGet Package + +on: + push: + branches: + - main + +jobs: + publish_nuget_package: + name: Publish + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Test + run: dotnet test + - name: Pack + run: dotnet pack --output ./output + - name: Push + run: dotnet nuget push ./output/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/Azofe.Core.sln b/Azofe.Core.sln index 2e292cc..d5c9a7c 100644 --- a/Azofe.Core.sln +++ b/Azofe.Core.sln @@ -1,4 +1,3 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33205.214 @@ -7,6 +6,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azofe.Core", "Azofe.Core\Az EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azofe.Core.Tests", "Azofe.Core.Tests\Azofe.Core.Tests.csproj", "{ABB4C381-8FE9-4F37-B28F-1D00E793EBA7}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D175C665-E5BB-4130-BAD4-1A6296D566D5}" + ProjectSection(SolutionItems) = preProject + .github\workflows\publish.yml = .github\workflows\publish.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/Azofe.Core/Azofe.Core.csproj b/Azofe.Core/Azofe.Core.csproj index 79322d7..cb953b1 100644 --- a/Azofe.Core/Azofe.Core.csproj +++ b/Azofe.Core/Azofe.Core.csproj @@ -1,9 +1,22 @@ - net8.0 + Félix Severo + Azofe + Copyright Félix Severo + A high-quality set of building blocks to architect your backend using Hexagonal Architecture and Domain-Driven Design. enable enable + MIT + README.md + azofe;core;architect;hexagonal;architecture;ddd + Azofe + https://github.com/felixsevero/Azofe.Core.git + net8.0 + 0.1.0 + + + diff --git a/README.md b/README.md index e49688e..5aa304e 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ # Azofe.Core + +A high-quality set of building blocks to architect your backend using Hexagonal Architecture and Domain-Driven Design.