mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 15:04:45 +02:00
Testing again
This commit is contained in:
parent
0c5eb305e8
commit
34a91c2db4
2 changed files with 0 additions and 2 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -3997,7 +3997,6 @@ function run() {
|
|||
const searchResult = yield search_1.findFilesToUpload(inputs.searchPath);
|
||||
if (searchResult.filesToUpload.length === 0) {
|
||||
// No files were found, different use cases warrant different types of behavior if nothing is found
|
||||
console.log(inputs.ifNoFilesFound);
|
||||
switch (inputs.ifNoFilesFound) {
|
||||
case constants_1.NoFileOptions.warn: {
|
||||
core.warning(`No files were found with the provided path: ${inputs.searchPath}. No artifacts will be uploaded.`);
|
||||
|
|
|
@ -10,7 +10,6 @@ async function run(): Promise<void> {
|
|||
const searchResult = await findFilesToUpload(inputs.searchPath)
|
||||
if (searchResult.filesToUpload.length === 0) {
|
||||
// No files were found, different use cases warrant different types of behavior if nothing is found
|
||||
console.log(inputs.ifNoFilesFound)
|
||||
switch (inputs.ifNoFilesFound) {
|
||||
case NoFileOptions.warn: {
|
||||
core.warning(
|
||||
|
|
Loading…
Add table
Reference in a new issue