Skip to content

Commit

Permalink
Publish packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pomianowski committed May 31, 2024
1 parent ade84b3 commit 393bbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/i18n-cd-nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
- name: Run tests
run: dotnet test Lepo.i18n.sln --configuration Release --no-restore --no-build --verbosity quiet

# - name: Publish the package to NuGet.org
# run: nuget push **\*.nupkg -NonInteractive -SkipDuplicate -Source 'https://api.nuget.org/v3/index.json'
- name: Publish the package to NuGet.org
run: nuget push **\*.nupkg -NonInteractive -SkipDuplicate -Source 'https://api.nuget.org/v3/index.json'
1 change: 0 additions & 1 deletion tests/Lepo.i18n.UnitTests/LocalizationBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public void FromResource_ShouldLoadResource()

ILocalizationProvider provider = builder.Build();

provider.SetCulture(new CultureInfo("en-US"));
LocalizationSet? localizationSet = provider.GetLocalizationSet("en-US");

_ = localizationSet!["Test"].Should().Be("Test in english");
Expand Down

0 comments on commit 393bbde

Please sign in to comment.