Skip to content

Commit

Permalink
#2 - outputs readme
Browse files Browse the repository at this point in the history
  • Loading branch information
g4s8 authored Oct 27, 2020
1 parent 98e5557 commit 23fb2ce
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Here is some explanations:
password: "${{ secrets.ARTIPIE_PASSWORD }}"
```
## Options
## Parameters (inputs)
The table of parameters to configure upload:
| Option | Optional | Description | Default value |
| Parameter | Optional | Description | Default value |
|:------------- |:---------|:-------------------------------|:----------------------------|
| `server` | yes | Artipie server base URL | https://central.artipie.com |
| `repo` | no | Artipie repository coordinates | |
Expand All @@ -40,3 +41,8 @@ Here is some explanations:
| `username` | yes | Artipie username | |
| `password` | yes | Artipie password | |

## Outputs

The list of output results produced by this action:
- `url` (string): the URL of uploaded file, can be used to download this file

1 comment on commit 23fb2ce

@0pdd
Copy link

@0pdd 0pdd commented on 23fb2ce Oct 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20200927-12-1vn5scd/artipie/upload-action && pdd -v -f /tmp/20201027-18724-13uhm6s [1]: + set -e + set -o pipefail + cd /tmp/0pdd20200927-12-1vn5scd/artipie/upload-action + pdd -v -f /tmp/20201027-18724-13uhm6s My version is 0.20.5 Ruby version...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20200927-12-1vn5scd/artipie/upload-action && pdd -v -f /tmp/20201027-18724-13uhm6s [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20200927-12-1vn5scd/artipie/upload-action
+ pdd -v -f /tmp/20201027-18724-13uhm6s

My version is 0.20.5
Ruby version is 2.6.0 at x86_64-linux
Reading /tmp/0pdd20200927-12-1vn5scd/artipie/upload-action
368 file(s) found, 82 excluded
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@actions/http-client/actions.png is a binary file (33889 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/auth-token/dist-src/types.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/core/dist-src/types.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/request-error/dist-src/types.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestMethod.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestInterface.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestRequestOptions.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/Fetch.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/ResponseHeaders.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestOptions.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/Route.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/StrategyInterface.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/Url.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestError.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestHeaders.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/EndpointDefaults.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/generated/Endpoints.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/Signal.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/OctokitResponse.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/EndpointOptions.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/EndpointInterface.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/AuthInterface.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/types/dist-src/RequestParameters.js is a binary file (0 bytes)
/tmp/0pdd20200927-12-1vn5scd/artipie/upload-action/node_modules/@octokit/graphql/dist-src/types.js is a binary file (0 bytes)
Reading LICENSE...
Reading README.md...
Reading node_modules/wrappy/LICENSE...
Reading node_modules/wrappy/README.md...
Reading node_modules/wrappy/package.json...
Reading node_modules/wrappy/wrappy.js...
Reading node_modules/is-plain-object/LICENSE...
Reading node_modules/is-plain-object/README.md...
Reading node_modules/is-plain-object/index.cjs.js...
Reading node_modules/is-plain-object/package.json...
Reading node_modules/is-plain-object/index.d.ts...
Reading node_modules/is-plain-object/index.es.js...
Reading node_modules/once/LICENSE...
Reading node_modules/once/README.md...
Reading node_modules/once/package.json...
Reading node_modules/once/once.js...
Reading node_modules/tunnel/LICENSE...
Reading node_modules/tunnel/README.md...
Reading node_modules/tunnel/package.json...
Reading node_modules/tunnel/.idea/encodings.xml...
Reading node_modules/tunnel/.idea/vcs.xml...
Reading node_modules/tunnel/.idea/workspace.xml...
ERROR: node_modules/tunnel/.idea/workspace.xml; puzzle at line #367; TODO must have a leading space to become a puzzle, as this page explains: https://github.com/yegor256/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:66:in `rescue in block in xml'
/app/objects/git_repo.rb:63:in `block in xml'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/tempfile.rb:295:in `open'
/app/objects/git_repo.rb:62:in `xml'
/app/objects/puzzles.rb:36:in `deploy'
/app/objects/job.rb:38:in `proceed'
/app/objects/job_starred.rb:33:in `proceed'
/app/objects/job_recorded.rb:32:in `proceed'
/app/objects/job_emailed.rb:35:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:48:in `exclusive'
/app/objects/job_detached.rb:36:in `block in proceed'
/app/objects/job_detached.rb:36:in `fork'
/app/objects/job_detached.rb:36:in `proceed'
/app/0pdd.rb:358:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1635:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1635:in `block in compile!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:992:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1011:in `route_eval'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:992:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1040:in `block in process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1038:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1038:in `process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:990:in `block in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:989:in `each'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:989:in `route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1097:in `block in dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1094:in `dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:924:in `block in call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1076:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:924:in `call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:913:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.0.4/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/logger.rb:15:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/common_logger.rb:33:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:231:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:224:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:194:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1957:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1502:in `block in call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1729:in `synchronize'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.0.4/lib/sinatra/base.rb:1502:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.6/lib/rack/handler/webrick.rb:86:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'

Please sign in to comment.