-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
50 lines (46 loc) · 1.22 KB
/
Copy pathaction.yml
File metadata and controls
50 lines (46 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Verified Delta Patch
description: Create a verified BSDIFF43 patch and manifest for a release artifact
author: JimmyDaddy
inputs:
old-file:
description: Baseline release file
required: true
new-file:
description: Target release file
required: true
patch-file:
description: Output patch path
required: false
default: update.patch
manifest-file:
description: Output verified manifest path
required: false
default: patch-manifest.json
max-patch-ratio:
description: Full-file fallback threshold between 0 and 1
required: false
default: '0.85'
release-id:
description: Optional release identifier stored in the manifest
required: false
outputs:
strategy:
description: patch when the delta is efficient, otherwise full
patch-file:
description: Generated patch path
manifest-file:
description: Generated manifest path
patch-bytes:
description: Generated patch size
target-bytes:
description: Target file size
patch-ratio:
description: Patch size divided by target size
savings-ratio:
description: Transfer ratio saved compared with the full target
runs:
using: node24
main: action/index.mjs
branding:
icon: package
color: blue