mirror of
				https://hub.gitmirror.com/https://github.com/gradle/actions.git
				synced 2025-10-30 09:29:57 +08:00 
			
		
		
		
	 11fb430abc
			
		
	
	
		11fb430abc
		
			
		
	
	
	
	
		
			
			Instead of using 'dependency-graph-action' with some slightly better values, we now use 'dependency-graph' as the parameter name with a subset of the options available to 'setup-gradle'.
		
			
				
	
	
		
			26 lines
		
	
	
		
			652 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			652 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Test dependency-submission save
 | |
| 
 | |
| on:
 | |
|   workflow_dispatch:
 | |
|   push:
 | |
| 
 | |
| permissions:
 | |
|   contents: read
 | |
| 
 | |
| env:
 | |
|   GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
 | |
| 
 | |
| jobs:
 | |
|   dependency-submission-save:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|     - name: Checkout sources
 | |
|       uses: actions/checkout@v4
 | |
|     - name: Generate and save dependency graph
 | |
|       uses: ./dependency-submission
 | |
|       with:
 | |
|         build-root-directory: .github/workflow-samples/groovy-dsl
 | |
|         dependency-graph: generate-and-upload
 | |
|       env:
 | |
|         GITHUB_DEPENDENCY_GRAPH_REF: 'refs/tags/v0.0.1' # Use a different ref to avoid updating the real dependency graph for the repository
 |