Skip to content

Commit 393bbde

Browse files
committed
Publish packages
1 parent ade84b3 commit 393bbde

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/i18n-cd-nuget.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
- name: Run tests
3232
run: dotnet test Lepo.i18n.sln --configuration Release --no-restore --no-build --verbosity quiet
3333

34-
# - name: Publish the package to NuGet.org
35-
# run: nuget push **\*.nupkg -NonInteractive -SkipDuplicate -Source 'https://api.nuget.org/v3/index.json'
34+
- name: Publish the package to NuGet.org
35+
run: nuget push **\*.nupkg -NonInteractive -SkipDuplicate -Source 'https://api.nuget.org/v3/index.json'

tests/Lepo.i18n.UnitTests/LocalizationBuilderTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public void FromResource_ShouldLoadResource()
5252

5353
ILocalizationProvider provider = builder.Build();
5454

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

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

0 commit comments

Comments
 (0)