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
/
action.yml
57 lines (57 loc) · 1.57 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 pin artifacts from 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`, `history`, or `pin`. See the
README for details.
required: true
default: "validate"
ipfs-api:
description: >
The multiaddr of the API endpoint of the running IPFS node. This is
required in `pin` mode.
required: false
pin-endpoint:
description: >
The URL of the IPFS pinning service API endpoint to use. This is required
in `pin` mode.
required: false
pin-token:
description: >
The secret bearer token for the configured IPFS pinning service. This is
required in `pin` mode.
required: false
dry-run:
description: >
Prevents uploading files when used in `pin` mode. Legal in other modes,
but does nothing. Useful for testing.
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.
root:
description: >
The CID of the UnixFS directory containing the current version of each
file in the repository.
runs:
using: "docker"
image: "Dockerfile"
args:
- "--action"
branding:
icon: "archive"
color: "purple"