Skip to content

chore(ci): correct the direction of diff equations #2396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/actions/file-diff/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ A GitHub Action for comparing compiled assets between branches.

## Inputs

### `path`
### `head-path`

**Required** Path to file or directory for file sizes analysis.

### `diff-path`
### `base-path`

**Optional** Path to another directory against which to perform file comparisons.

Expand Down Expand Up @@ -44,8 +44,8 @@ Total size of all files for this branch in bytes.
name: Compare compiled output file size
uses: "spectrum-tools/gh-action-file-diff"
with:
path: ${{ github.workspace }}/pull-request
diff-path: ${{ github.workspace }}/base-branch
head-path: ${{ github.workspace }}/pull-request
base-path: ${{ github.workspace }}/base-branch
file-glob-pattern: |
components/*/dist/*.{css,json}
components/*/dist/themes/*.css
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/file-diff/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "File comparisons"
description: "Compares files between branches."
author: "spectrum-tools"
inputs:
path:
head-path:
description: "Path to file or directory for file sizes analysis."
required: false
default: ${{ github.workspace }}
diff-path:
base-path:
description: "Optional path to another directory to perform file size diff against the provided path."
required: false
token:
Expand Down
Loading