#0: Add new pull-lfs and repository options to reusable submodule checkout action #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build and unit tests" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
checkout=with-submodules: | ||
Check failure on line 13 in .github/workflows/build-and-unit-tests.yaml GitHub Actions / build and unit testsInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
pull-lfs: [true, false] | ||
repository: ["${{ github.repository }}", "pytorch/pytorch"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/checkout-with-submodule-lfs | ||
with: | ||
pull-lfs: ${{ matrix.pull-lfs }} | ||
repository: ${{ matrix.repository }} |