File tree Expand file tree Collapse file tree 5 files changed +130
-99
lines changed Expand file tree Collapse file tree 5 files changed +130
-99
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ A GitHub Action for comparing compiled assets between branches.
4
4
5
5
## Inputs
6
6
7
- ### ` path `
7
+ ### ` head- path`
8
8
9
9
** Required** Path to file or directory for file sizes analysis.
10
10
11
- ### ` diff -path`
11
+ ### ` base -path`
12
12
13
13
** Optional** Path to another directory against which to perform file comparisons.
14
14
@@ -44,8 +44,8 @@ Total size of all files for this branch in bytes.
44
44
name : Compare compiled output file size
45
45
uses : " spectrum-tools/gh-action-file-diff"
46
46
with :
47
- path : ${{ github.workspace }}/pull-request
48
- diff -path : ${{ github.workspace }}/base-branch
47
+ head- path : ${{ github.workspace }}/pull-request
48
+ base -path : ${{ github.workspace }}/base-branch
49
49
file-glob-pattern : |
50
50
components/*/dist/*.{css,json}
51
51
components/*/dist/themes/*.css
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ name: "File comparisons"
2
2
description : " Compares files between branches."
3
3
author : " spectrum-tools"
4
4
inputs :
5
- path :
5
+ head- path :
6
6
description : " Path to file or directory for file sizes analysis."
7
7
required : false
8
8
default : ${{ github.workspace }}
9
- diff -path :
9
+ base -path :
10
10
description : " Optional path to another directory to perform file size diff against the provided path."
11
11
required : false
12
12
token :
You can’t perform that action at this time.
0 commit comments