From 2a5bd4988f00a891988f1839d842577912ea84dc Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:48:08 -0800 Subject: [PATCH] Run publish dry run on main (#207) --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1c5a2162..c6e4fc44 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -90,7 +90,7 @@ jobs: - run: cargo hack test $CARGO_HACK_ARGS publish-dry-run: - if: startsWith(github.head_ref, 'release/') + if: github.event_name == 'push' || startsWith(github.head_ref, 'release/') strategy: matrix: sys: