Compare commits

...

4 Commits

Author SHA1 Message Date
c24449f33c Merge pull request #608 from actions/joshmgross/fix-include-hidden-files-input-node20
Ensure hidden files input is used
2024-09-02 12:45:52 -04:00
2339de448d Ensure hidden files input is used 2024-09-02 12:29:26 -04:00
672174a5ba Merge pull request #606 from actions/v3/node16
Carry forward `v3/node16` updates to `v3/node20`
2024-08-29 11:55:17 -04:00
97a0fba137 use node20 2024-03-18 15:56:53 +00:00
3 changed files with 6 additions and 3 deletions

View File

@ -29,5 +29,5 @@ inputs:
If false, hidden files will be excluded from the uploaded artifact.
default: 'false'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

2
dist/index.js vendored
View File

@ -11091,7 +11091,7 @@ function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
const inputs = (0, input_helper_1.getInputs)();
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath);
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath, inputs.includeHiddenFiles);
if (searchResult.filesToUpload.length === 0) {
// No files were found, different use cases warrant different types of behavior if nothing is found
switch (inputs.ifNoFilesFound) {

View File

@ -7,7 +7,10 @@ import {NoFileOptions} from './constants'
async function run(): Promise<void> {
try {
const inputs = getInputs()
const searchResult = await findFilesToUpload(inputs.searchPath)
const searchResult = await findFilesToUpload(
inputs.searchPath,
inputs.includeHiddenFiles
)
if (searchResult.filesToUpload.length === 0) {
// No files were found, different use cases warrant different types of behavior if nothing is found
switch (inputs.ifNoFilesFound) {