Skip to content

Commit

Permalink
Merge pull request #918 from chromaui/action-file-hashing-option
Browse files Browse the repository at this point in the history
Add missing `fileHashing` option to GitHub Action
  • Loading branch information
ghengeveld authored Feb 8, 2024
2 parents 9036e8f + 0b96256 commit 7cad9a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action-src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ async function run() {
const exitOnceUploaded = getInput('exitOnceUploaded');
const exitZeroOnChanges = getInput('exitZeroOnChanges');
const externals = getInput('externals');
const fileHashing = getInput('fileHashing');
const forceRebuild = getInput('forceRebuild');
const ignoreLastBuildOnBranch = getInput('ignoreLastBuildOnBranch');
const logFile = getInput('logFile');
Expand Down Expand Up @@ -148,6 +149,7 @@ async function run() {
exitOnceUploaded: maybe(exitOnceUploaded, false),
exitZeroOnChanges: maybe(exitZeroOnChanges, true),
externals: maybe(externals),
fileHashing: maybe(fileHashing, true),
forceRebuild: maybe(forceRebuild),
ignoreLastBuildOnBranch: maybe(ignoreLastBuildOnBranch),
interactive: false,
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ inputs:
externals:
description: 'Disable TurboSnap when any of these files have changed since the baseline build'
required: false
fileHashing:
description: 'Whether to apply file hashing to skip uploading unchanged files (default: true)'
required: false
forceRebuild:
description: 'Do not skip build when a rebuild is detected'
required: false
Expand Down

0 comments on commit 7cad9a3

Please sign in to comment.