diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb5b4eb..06980e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,8 +45,8 @@ jobs: # workaround for actions/setup-dotnet#155 - name: Clear package cache run: dotnet clean Wasmtime.sln && dotnet nuget locals all --clear - - name: Enable development builds for the main branch - if: github.ref == 'refs/heads/main' || github.base_ref == 'main' + - name: Enable development builds for the main branch on schedule + if: github.ref == 'refs/heads/main' && github.event_name == 'schedule' shell: bash run: | echo "DevBuild=true" >> $GITHUB_ENV diff --git a/Directory.Build.props b/Directory.Build.props index a3b3054..45dfd23 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - true - 19.0.1 + false + 20.0.2 $(WasmtimeVersion)$(WasmtimeDotnetVersion)-dev $(WasmtimeVersion)$(WasmtimeDotnetVersion) diff --git a/src/AssemblyAttributes.cs b/src/AssemblyAttributes.cs index 1b1f1ea..dffc923 100644 --- a/src/AssemblyAttributes.cs +++ b/src/AssemblyAttributes.cs @@ -1,3 +1,3 @@ using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Wasmtime.Tests")] \ No newline at end of file +[assembly: InternalsVisibleTo("Wasmtime.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100fd9d8818d77c29c70efc6c0c573d0547c68c817daa3367480741c301cbff5faf8e118dbbbaa6d54b5d81232da8f3d94d0de6e957dd712ad5d859497f212f43d92cc16ae545812320b8db34f661c51e254719a1d30c46a13110bd4d7167ebf7119d8fd6f24dcfbcd298ac5806be089cbca5edf9167d28a3c8af3fc08c994972c1")] \ No newline at end of file diff --git a/src/Utils/wasmtime.snk b/src/Utils/wasmtime.snk new file mode 100644 index 0000000..14d61b8 Binary files /dev/null and b/src/Utils/wasmtime.snk differ diff --git a/src/Wasmtime.csproj b/src/Wasmtime.csproj index 7708152..242d6b4 100644 --- a/src/Wasmtime.csproj +++ b/src/Wasmtime.csproj @@ -97,6 +97,8 @@ The .NET embedding of Wasmtime enables .NET code to instantiate WebAssembly modu $(BaseURL)/v$(WasmtimeVersion) wasmtime-dev wasmtime-v$(WasmtimeVersion) + True + Utils\wasmtime.snk diff --git a/tests/Utils/wasmtime.tests.snk b/tests/Utils/wasmtime.tests.snk new file mode 100644 index 0000000..c842c38 Binary files /dev/null and b/tests/Utils/wasmtime.tests.snk differ diff --git a/tests/Wasmtime.Tests.csproj b/tests/Wasmtime.Tests.csproj index 859eb82..ba074a7 100644 --- a/tests/Wasmtime.Tests.csproj +++ b/tests/Wasmtime.Tests.csproj @@ -16,6 +16,11 @@ + + true + Utils\wasmtime.tests.snk + +