Browse Source

Dont run matrix on draft

Jonathan Kelley 1 year ago
parent
commit
e5341bd330
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/main.yml

+ 1 - 0
.github/workflows/main.yml

@@ -173,6 +173,7 @@ jobs:
 
 
   matrix_test:
   matrix_test:
     runs-on: ${{ matrix.platform.os }}
     runs-on: ${{ matrix.platform.os }}
+    if: github.event.pull_request.draft == false
     env:
     env:
       RUST_CARGO_COMMAND: ${{ matrix.platform.cross == true && 'cross' || 'cargo' }}
       RUST_CARGO_COMMAND: ${{ matrix.platform.cross == true && 'cross' || 'cargo' }}
     strategy:
     strategy: