Update the readme
This commit is contained in:
parent
705e2d717c
commit
9588309c74
2 changed files with 16 additions and 5 deletions
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: Check the content of the uploaded artifact
|
- name: Check the content of the uploaded artifact
|
||||||
run: |
|
run: |
|
||||||
# Stop at first error and be verbose
|
# Stop at first error and be verbose
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# Create some temporary files/directory
|
# Create some temporary files/directory
|
||||||
|
|
19
README.md
19
README.md
|
@ -9,21 +9,23 @@ the artifact uploading required a full blown NodeJS container.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
This actions won't copy all the features of the original NodeJS version but
|
This action won't copy all the features of the original NodeJS version but
|
||||||
please report differences on the main ones.
|
please report differences on the main ones.
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
This action needs the following executables:
|
This action needs the following executables:
|
||||||
|
|
||||||
* zip (unless you zip the artifact yourself)
|
* `zip` (unless you zip the artifact yourself)
|
||||||
* wget (the full version : unfortunately, as of 2024-08-26, the busybox variant isn't capable of using the PUT method)
|
* `wget` (the full version : unfortunately, as of 2024-08-26, the busybox variant isn't capable of using the PUT method)
|
||||||
|
|
||||||
|
|
||||||
### Inputs
|
### Inputs
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/upload-artifact@v4
|
# If you can, give the full URL :
|
||||||
|
# - uses: https://entrepot.xlii.si/actions/upload-artifact-with-wget@v4
|
||||||
|
- uses: actions/upload-artifact-with-wget@v4
|
||||||
with:
|
with:
|
||||||
# Name of the artifact to upload.
|
# Name of the artifact to upload.
|
||||||
# Optional. Default is 'artifact'
|
# Optional. Default is 'artifact'
|
||||||
|
@ -32,6 +34,14 @@ This action needs the following executables:
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
# Required.
|
# Required.
|
||||||
path:
|
path:
|
||||||
|
|
||||||
|
# If the artifact is already a zipfile, set to false.
|
||||||
|
# Optional. Default is true.
|
||||||
|
compression:
|
||||||
|
|
||||||
|
# Set the compression level of the zipfile.
|
||||||
|
# Optional. Default is '6'.
|
||||||
|
compression-level:
|
||||||
```
|
```
|
||||||
|
|
||||||
### Outputs
|
### Outputs
|
||||||
|
@ -39,6 +49,7 @@ This action needs the following executables:
|
||||||
| Name | Description | Example |
|
| Name | Description | Example |
|
||||||
| - | - | - |
|
| - | - | - |
|
||||||
| `artifact-id` | GitHub ID of an Artifact, can be used by the REST API | `1234` |
|
| `artifact-id` | GitHub ID of an Artifact, can be used by the REST API | `1234` |
|
||||||
|
| `artifact-url` | URL to download an Artifact. | `https://github.com/example-org/example-repo/actions/runs/1/artifacts/1234` or `https://codeberg.org/forgejo/forgejo/actions/runs/1/artifacts/my-artifact` |
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue