mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 13:53:41 +00:00 
			
		
		
		
	ci(test): only sparse checkout action files in action testing jobs
This commit is contained in:
		
							parent
							
								
									ebeda19c51
								
							
						
					
					
						commit
						4cd3cdbf64
					
				
							
								
								
									
										36
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							@ -74,6 +74,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Move Project
 | 
					      - name: Move Project
 | 
				
			||||||
        run: mv test/* .
 | 
					        run: mv test/* .
 | 
				
			||||||
@ -102,6 +108,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure Project
 | 
					      - name: Configure Project
 | 
				
			||||||
        id: cmake-action
 | 
					        id: cmake-action
 | 
				
			||||||
@ -125,6 +137,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure and Build Project
 | 
					      - name: Configure and Build Project
 | 
				
			||||||
        id: cmake-action
 | 
					        id: cmake-action
 | 
				
			||||||
@ -143,6 +161,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure, Build, and Test Project
 | 
					      - name: Configure, Build, and Test Project
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
@ -161,6 +185,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure, Build, and Test Project
 | 
					      - name: Configure, Build, and Test Project
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
@ -184,6 +214,12 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4.1.1
 | 
					        uses: actions/checkout@v4.1.1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          sparse-checkout: |
 | 
				
			||||||
 | 
					            action.yml
 | 
				
			||||||
 | 
					            main
 | 
				
			||||||
 | 
					            test
 | 
				
			||||||
 | 
					          sparse-checkout-cone-mode: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure, Build, and Test Project
 | 
					      - name: Configure, Build, and Test Project
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user