This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
57 lines (57 loc) · 1.78 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "Ace Archive Artifact Action"
author: "Ace Archive"
description: >
Query, validate, and rehost artifacts in Ace Archive.
inputs:
path:
description: >
The path of the directory in the repository containing the artifact
files.
required: true
default: "artifacts"
mode:
description: >
The mode to operate in, either `validate` or `history`. In `validate`
mode, artifact files are pulled from the working tree and their syntax is
validated. In `history` mode, the entire commit history is traversed to
pull each version of each artifact file, and syntax errors are ignored
silently.
required: true
default: "validate"
w3s-token:
description: >
The secret API token for Web3.Storage. If this is provided, all artifacts
in the repository are uploaded to Web3.Storage.
required: false
ipfs-api:
description: >
The multiaddr of the API endpoint of the running IPFS node. This is
required to upload artifacts to Web3.Storage.
required: false
pin-endpoint:
description: >
The URL of the IPFS pinning service API endpoint to use. If this is
provided, all artifacts in the repository are pinned using this pinning
service.
required: false
pin-token:
description: >
The bearer token for the configured IPFS pinning service. This is
required to pin artifacts using an IPFS pinning service.
required: false
outputs:
artifacts:
description: >
A JSON document describing the artifacts in the repository.
cids:
description: >
A JSON array of the CIDs contained in artifacts in the repository,
deduplicated by their multihash.
runs:
using: "docker"
image: "Dockerfile"
args:
- "--action"
branding:
icon: "archive"
color: "purple"