From 9a4380618274655f0b8a0fbaccc118b30513a85b Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Fri, 21 Jun 2024 09:43:46 -0700 Subject: [PATCH 1/2] Only run wasmtime dev branch when schedule triggers on Main Signed-off-by: James Sturtevant --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From a816a0aef52d02c2da76ae42af83c1a8054a9639 Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Fri, 21 Jun 2024 21:27:48 -0700 Subject: [PATCH 2/2] Don't run dev build locally bump to wasmtime 20.0 Signed-off-by: James Sturtevant --- Directory.Build.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)