Skip to content

Commit

Permalink
Fix build errors (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmyers authored Sep 6, 2024
1 parent 5be74c4 commit f22556e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/l10n-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
package-l10n:
strategy:
fail-fast: false
runs-on: windows-2019
runs-on: windows-latest

steps:
- name: Checkout
Expand All @@ -26,6 +26,8 @@ jobs:
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
with:
dotnet-version: 8.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe (Windows OS)
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/l10n-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
extract-and-upload-strings:
strategy:
fail-fast: false
runs-on: windows-2019
runs-on: windows-latest

steps:
- name: Checkout
Expand All @@ -26,6 +26,8 @@ jobs:
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
with:
dotnet-version: 8.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe (Windows OS)
Expand Down
7 changes: 7 additions & 0 deletions SIL.WritingSystems.Tests/SldrTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ public void Dispose()
}
}

[SetUp]
public void Setup()
{
if (!Sldr.IsInitialized)
Sldr.Initialize(true, Sldr.DefaultSldrCachePath);
}

[Test]
public void GetLdmlFile_EmptyPath_Throws()
{
Expand Down

0 comments on commit f22556e

Please sign in to comment.