From cf7cad59fdb1468a512ab6d1d98f344face94509 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Aug 2021 16:18:44 -0400 Subject: [PATCH 1/2] Bump coverlet.collector from 3.0.3 to 3.1.0 (#158) Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.3 to 3.1.0. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Steve Smith --- .../SmartEnum.AutoFixture.UnitTests.csproj | 2 +- .../SmartEnum.JsonNet.UnitTests.csproj | 2 +- .../SmartEnum.MessagePack.UnitTests.csproj | 2 +- .../SmartEnum.ProtoBufNet.UnitTests.csproj | 2 +- .../SmartEnum.SystemTextJson.UnitTests.csproj | 2 +- test/SmartEnum.UnitTests/SmartEnum.UnitTests.csproj | 2 +- .../SmartEnum.Utf8Json.UnitTests.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/SmartEnum.AutoFixture.UnitTests/SmartEnum.AutoFixture.UnitTests.csproj b/test/SmartEnum.AutoFixture.UnitTests/SmartEnum.AutoFixture.UnitTests.csproj index af9f8b20..f8ba523a 100644 --- a/test/SmartEnum.AutoFixture.UnitTests/SmartEnum.AutoFixture.UnitTests.csproj +++ b/test/SmartEnum.AutoFixture.UnitTests/SmartEnum.AutoFixture.UnitTests.csproj @@ -13,7 +13,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.JsonNet.UnitTests/SmartEnum.JsonNet.UnitTests.csproj b/test/SmartEnum.JsonNet.UnitTests/SmartEnum.JsonNet.UnitTests.csproj index a1719818..f71cff47 100644 --- a/test/SmartEnum.JsonNet.UnitTests/SmartEnum.JsonNet.UnitTests.csproj +++ b/test/SmartEnum.JsonNet.UnitTests/SmartEnum.JsonNet.UnitTests.csproj @@ -11,7 +11,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.MessagePack.UnitTests/SmartEnum.MessagePack.UnitTests.csproj b/test/SmartEnum.MessagePack.UnitTests/SmartEnum.MessagePack.UnitTests.csproj index db9671fa..3c1c5b2b 100644 --- a/test/SmartEnum.MessagePack.UnitTests/SmartEnum.MessagePack.UnitTests.csproj +++ b/test/SmartEnum.MessagePack.UnitTests/SmartEnum.MessagePack.UnitTests.csproj @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.ProtoBufNet.UnitTests/SmartEnum.ProtoBufNet.UnitTests.csproj b/test/SmartEnum.ProtoBufNet.UnitTests/SmartEnum.ProtoBufNet.UnitTests.csproj index 33833be2..ce5fbc11 100644 --- a/test/SmartEnum.ProtoBufNet.UnitTests/SmartEnum.ProtoBufNet.UnitTests.csproj +++ b/test/SmartEnum.ProtoBufNet.UnitTests/SmartEnum.ProtoBufNet.UnitTests.csproj @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.SystemTextJson.UnitTests/SmartEnum.SystemTextJson.UnitTests.csproj b/test/SmartEnum.SystemTextJson.UnitTests/SmartEnum.SystemTextJson.UnitTests.csproj index b7b4052f..8ea58a3f 100644 --- a/test/SmartEnum.SystemTextJson.UnitTests/SmartEnum.SystemTextJson.UnitTests.csproj +++ b/test/SmartEnum.SystemTextJson.UnitTests/SmartEnum.SystemTextJson.UnitTests.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.UnitTests/SmartEnum.UnitTests.csproj b/test/SmartEnum.UnitTests/SmartEnum.UnitTests.csproj index 4cf963bb..0c017e58 100644 --- a/test/SmartEnum.UnitTests/SmartEnum.UnitTests.csproj +++ b/test/SmartEnum.UnitTests/SmartEnum.UnitTests.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/SmartEnum.Utf8Json.UnitTests/SmartEnum.Utf8Json.UnitTests.csproj b/test/SmartEnum.Utf8Json.UnitTests/SmartEnum.Utf8Json.UnitTests.csproj index fc48b01c..b590df2c 100644 --- a/test/SmartEnum.Utf8Json.UnitTests/SmartEnum.Utf8Json.UnitTests.csproj +++ b/test/SmartEnum.Utf8Json.UnitTests/SmartEnum.Utf8Json.UnitTests.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 9f5cba7e0d614f6cb9972418bdedce93c9afbe73 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Fri, 13 Aug 2021 16:20:30 -0400 Subject: [PATCH 2/2] Create publish-efcore.yml --- .github/workflows/publish-efcore.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/publish-efcore.yml diff --git a/.github/workflows/publish-efcore.yml b/.github/workflows/publish-efcore.yml new file mode 100644 index 00000000..a52555a1 --- /dev/null +++ b/.github/workflows/publish-efcore.yml @@ -0,0 +1,31 @@ +name: publish SmartEnum.EFCore to nuget +on: + push: + branches: + - master # Your default release branch + paths: + - 'src/SmartEnum.EFCore/**' +jobs: + publish: + name: list SmartEnum.EFCore on nuget.org + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + + # Required for a specific dotnet version that doesn't come with ubuntu-latest / windows-latest + # Visit bit.ly/2synnZl to see the list of SDKs that are pre-installed with ubuntu-latest / windows-latest + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.300 + + # Publish + - name: publish on version change + uses: rohith/publish-nuget@v2 + with: + PROJECT_FILE_PATH: src/SmartEnum.EFCore/SmartEnum.EFCore.csproj # Relative to repository root + # VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file + VERSION_REGEX: (.*)<\/Version> # Regex pattern to extract version info in a capturing group + TAG_COMMIT: true # Flag to enable / disable git tagging + TAG_FORMAT: SmartEnumEFCore-v* # Format of the git tag, [*] gets replaced with version + NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key