Skip to content

Commit

Permalink
Update dependency, add delete_file
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Oct 15, 2020
1 parent b154416 commit 7d5f931
Show file tree
Hide file tree
Showing 7 changed files with 623 additions and 428 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ See https://help.github.com/en/articles/creating-a-personal-access-token-for-the

**Required** The files or file patterns to upload. You can upload multiple files by split them by semicolon. You can use the glob pattern to find the files.

### `delete_file`

**Required** The files or file patterns to delete before uploading new files. You can delete multiple files by split them by semicolon. You can use the glob pattern to find the files.

### `overwrite`

**Optional** If you need to overwrite existing files, add overwrite: true.
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ inputs:
description: "The files or file patterns to upload. You can upload multiple files by split them by semicolon. You can use the glob pattern to find the files."
required: true
default: ""
delete_file:
description: "The files or file patterns to delete before uploading new files. You can delete multiple files by split them by semicolon. You can use the glob pattern to find the files."
required: false
default: ""
overwrite:
description: "If you need to overwrite existing files, add overwrite: true to the with."
required: false
Expand Down
115 changes: 95 additions & 20 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7d5f931

Please sign in to comment.