Skip to content
Closed
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
5 changes: 3 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
EVENTFLOW_MSSQL_SERVER: 127.0.0.1,1433
EVENTFLOW_MSSQL_USER: sa
EVENTFLOW_MSSQL_PASS: Password12!
NUGET_APIKEY: ${{ secrets.nuget-api-key }}
# NUGET_APIKEY not used - publishing disabled for fork
# NUGET_APIKEY: ${{ secrets.nuget-api-key }}

services:
rabbitmq:
Expand Down Expand Up @@ -110,7 +111,7 @@ jobs:
bake run \
--convention=${{ inputs.bake-convention }} \
--build-version ${{ inputs.version }} \
--destination="nuget>github,nuget,release>github"
--destination="local"

- name: Upload NuGet packages
uses: actions/upload-artifact@v4
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: release

# DISABLED: This is a fork - do not publish to NuGet
on:
push:
branches: [ release-v1 ]
workflow_dispatch:
inputs:
manual_trigger_only:
description: 'Manual trigger only - publishing disabled for fork'
required: true
default: 'disabled'

permissions:
contents: write
packages: write

jobs:
pipeline:
if: false # Workflow disabled to prevent accidental NuGet publishing from fork
uses: ./.github/workflows/pipeline.yaml
with:
bake-convention: 'Release'
Expand Down
5 changes: 3 additions & 2 deletions Source/EventFlow.MongoDB.Tests/EventFlow.MongoDB.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net6.0;net8.0;net10.0</TargetFrameworks>
<IsPackable>False</IsPackable>
<NoWarn>$(NoWarn);NU1605</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Mongo2Go" Version="4.1.0" />
<PackageReference Include="MongoDB.Driver" Version="3.1.0" />
<PackageReference Include="Mongo2Go" Version="3.1.3" />
<PackageReference Include="MongoDB.Driver" Version="2.27.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>

Expand Down
10 changes: 5 additions & 5 deletions Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.1;netcoreapp3.1;net6.0;net8.0;net10.0</TargetFrameworks>
<PackageId>EventFlow.MongoDB</PackageId>
<Title>EventFlow.MongoDB</Title>
<PackageId>EventFlow.MongoDB.Temp</PackageId>
<Title>EventFlow.MongoDB.Temp</Title>
<Authors>Jan Feyen, Warren Pieterse</Authors>
<Description>MongoDB ReadStore and Snapshot Persistence for EventFlow</Description>
<Description>MongoDB ReadStore and Snapshot Persistence for EventFlow (Custom build with MongoDB.Driver 2.27.0)</Description>
<PackageTags>CQRS ES event sourcing MongoDB</PackageTags>
<PackageReleaseNotes>UPDATED BY BUILD</PackageReleaseNotes>
<PackageReleaseNotes>Custom build with MongoDB.Driver 2.27.0 for internal use</PackageReleaseNotes>
<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="MongoDB.Driver" Version="[3.0.0,4.0)" />
<PackageReference Include="MongoDB.Driver" Version="2.27.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading