1
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-12-22 15:25:47 +01:00

update index.js

This commit is contained in:
Yang Cao 2021-02-08 15:41:35 -05:00
parent 0fbc4b771a
commit e95d1b9c8d

3
dist/index.js vendored
View file

@ -4078,6 +4078,9 @@ function run() {
const s = searchResult.filesToUpload.length === 1 ? '' : 's';
core.info(`With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`);
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`);
if (searchResult.filesToUpload.length > 10000) {
core.warning(`There are over 10,000 files in this artifact, consider create an archive before upload to improve the upload performance.`);
}
const artifactClient = artifact_1.create();
const options = {
continueOnError: false