diff --git a/.github/workflows/run-tests-dev.yml b/.github/workflows/run-tests-dev.yml index cc29702c..a278e3ea 100644 --- a/.github/workflows/run-tests-dev.yml +++ b/.github/workflows/run-tests-dev.yml @@ -43,11 +43,17 @@ jobs: Write_Custom_h5] name: ${{ matrix.folder }} on MATLAB ${{ matrix.release }} steps: - - name: Check out repository + - name: Check out repository (repository dispatch) uses: actions/checkout@v2 with: lfs: true ref: 'dev' + if: github.event_name == 'repository_dispatch' + - name: Check out repository (push or pull request) + uses: actions/checkout@v2 + with: + lfs: true + if: github.event_name != 'repository_dispatch' - name: Checkout LFS objects run: git lfs checkout - name: Check out WEC-Sim