Skip to content

Commit

Permalink
Sample change
Browse files Browse the repository at this point in the history
  • Loading branch information
aguibert authored Oct 20, 2020
1 parent 27bce4e commit 54592be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ inputs:
path:
description: 'A file, directory or wildcard pattern that describes what to upload'
required: true
single-archive:
description: >
Whether or not all files for the action should be combined into a single archive
or uploaded as separate archives
default: false
if-no-files-found:
description: >
The desired behavior if no files are found using the provided path.
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3995,6 +3995,7 @@ function run() {
try {
const inputs = input_helper_1.getInputs();
const searchResult = yield search_1.findFilesToUpload(inputs.searchPath);
core.info('AGG inside new code');
if (searchResult.filesToUpload.length === 0) {
// No files were found, different use cases warrant different types of behavior if nothing is found
switch (inputs.ifNoFilesFound) {
Expand Down
3 changes: 3 additions & 0 deletions src/upload-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ async function run(): Promise<void> {
try {
const inputs = getInputs()
const searchResult = await findFilesToUpload(inputs.searchPath)

core.info('AGG inside new code')

if (searchResult.filesToUpload.length === 0) {
// No files were found, different use cases warrant different types of behavior if nothing is found
switch (inputs.ifNoFilesFound) {
Expand Down

0 comments on commit 54592be

Please sign in to comment.