Skip to content

Commit

Permalink
Only run wasmtime dev branch when schedule triggers on Main
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Jun 21, 2024
1 parent b2b0480 commit 9a43806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a43806

Please sign in to comment.