mirror of
				https://hub.gitmirror.com/https://github.com/gradle/actions.git
				synced 2025-10-30 17:40:03 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			600 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			600 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Test dependency-submission
 | |
| 
 | |
| on:
 | |
|   workflow_dispatch:
 | |
|   push:
 | |
| 
 | |
| permissions:
 | |
|   contents: write
 | |
| 
 | |
| env:
 | |
|   GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
 | |
| 
 | |
| jobs:
 | |
|   test-dependency-submission:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|     - name: Checkout sources
 | |
|       uses: actions/checkout@v4
 | |
|     - name: Generate and submit dependencies
 | |
|       uses: ./dependency-submission
 | |
|       with:
 | |
|         build-root-directory: .github/workflow-samples/groovy-dsl
 | |
|       env:
 | |
|         GITHUB_DEPENDENCY_GRAPH_REF: 'refs/tags/v0.0.1' # Use a different ref to avoid updating the real dependency graph for the repository
 | 
