Skip to content

Commit

Permalink
Publishing symbols to nuget - testing how complete this is
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjenkins committed Jan 4, 2024
1 parent 15be6b7 commit 3023191
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ jobs:
run: dotnet pack --configuration Release -p:Version=${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER} --include-symbols --output .
if: ${{ steps.detect_develop.outcome == 'success' }}

- name: Push Libraries to Nuget
# if: ${{ steps.detect_develop.outcome == 'success' }}
if: ${{ github.ref == 'refs/heads/develop' }}
# run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.FAKEAUTH_NUGET_KEY}}
# run: dotnet nuget push Calebs.KeyValueRepo.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
# - name: Push Libraries to Nuget
# # if: ${{ steps.detect_develop.outcome == 'success' }}
# if: ${{ github.ref == 'refs/heads/develop' }}
# # run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.FAKEAUTH_NUGET_KEY}}
# # run: dotnet nuget push Calebs.KeyValueRepo.${{steps.get_version.outputs.RELEASE_VERSION}}-ci-${GITHUB_RUN_NUMBER}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
# run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}

- name: Push Symbols to Nuget
if: ${{ github.ref == 'refs/heads/develop' }}
Expand Down
12 changes: 12 additions & 0 deletions src/KeyValueSqlLiteRepo/KeyValueSqLiteRepo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,18 @@ private SqliteCommand getCommandForUpcert(string key, string valueType, string v

}

public Task<MetaObject<T>?> GetMeta<T>(string key) where T : class
{
throw new NotImplementedException();
}

public Task<IList<MetaObject<T>>> GetHistory<T>(string key) where T : class
{
throw new NotImplementedException();
}

public Task<IList<MetaObject<T>>> GetMetaAll<T>() where T : class
{
throw new NotImplementedException();
}
}
2 changes: 1 addition & 1 deletion src/KeyValueSqlLiteRepo/KeyValueSqlLiteRepo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<ItemGroup>
<PackageReference Include="Calebs.Extensions" Version="1.5.0" />
<PackageReference Include="Calebs.KeyValueRepo" Version="0.2.0-ci-9" />
<PackageReference Include="Calebs.KeyValueRepo" Version="0.4.0-ci-37" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.5" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<None Include="..\..\LICENSE">
Expand Down
3 changes: 2 additions & 1 deletion src/KeyValueSqlLiteRepoTests/KeyValueSqlLiteRepoTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
Expand All @@ -11,6 +11,7 @@

<ItemGroup>
<PackageReference Include="Calebs.Extensions" Version="1.5.0" />
<PackageReference Include="Calebs.KeyValueRepoTests" Version="0.4.0-ci-37" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="Moq" Version="4.20.70" />
Expand Down
1 change: 1 addition & 0 deletions src/KeyValueSqlLiteRepoTests/SqLiteTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

using System.Diagnostics;


namespace KeyValueSqlLiteRepoTests;

[Collection ("RepoTests")]
Expand Down

0 comments on commit 3023191

Please sign in to comment.