mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	chore(ci): display size in MB
This commit is contained in:
		
							parent
							
								
									194f05dc9d
								
							
						
					
					
						commit
						8730a99aeb
					
				
							
								
								
									
										9
									
								
								.github/actions/report-size/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/actions/report-size/action.yml
									
									
									
									
										vendored
									
									
								
							@ -14,6 +14,13 @@ inputs:
 | 
			
		||||
    description: 'Report only different sizes'
 | 
			
		||||
    required: false
 | 
			
		||||
    default: 'false'
 | 
			
		||||
  filter:
 | 
			
		||||
    description: 'Regex filter based on file path'
 | 
			
		||||
    required: false
 | 
			
		||||
  unit:
 | 
			
		||||
    description: 'Size unit'
 | 
			
		||||
    required: false
 | 
			
		||||
    default: 'KB'
 | 
			
		||||
 | 
			
		||||
  # Comment inputs
 | 
			
		||||
  comment:
 | 
			
		||||
@ -50,6 +57,8 @@ runs:
 | 
			
		||||
      with:
 | 
			
		||||
        paths: ${{ inputs.paths }}
 | 
			
		||||
        onlyDiff: ${{ inputs.onlyDiff }}
 | 
			
		||||
        filter: ${{ inputs.filter }}
 | 
			
		||||
        unit: ${{ inputs.unit }}
 | 
			
		||||
 | 
			
		||||
    # Post github action summary
 | 
			
		||||
    - name: Post summary
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/dev.yml
									
									
									
									
										vendored
									
									
								
							@ -49,7 +49,7 @@ jobs:
 | 
			
		||||
          onlyDiff: 'true'
 | 
			
		||||
          branch: 'develop'
 | 
			
		||||
          header: 'Size report'
 | 
			
		||||
          append: true
 | 
			
		||||
          size: "MB"
 | 
			
		||||
          ghToken: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
  report-server-size:
 | 
			
		||||
    name: Report server size
 | 
			
		||||
@ -80,6 +80,7 @@ jobs:
 | 
			
		||||
          branch: 'develop'
 | 
			
		||||
          header: 'Size report'
 | 
			
		||||
          append: true
 | 
			
		||||
          size: "MB"
 | 
			
		||||
          ghToken: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
  test_dev:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user