Skip to content

Commit 3d5b96e

Browse files
feat: set CIDv1 as default
Merge pull request #1 from lidel/patch-1
2 parents 98e9be6 + 389c3c2 commit 3d5b96e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ipfs init
44
ipfs daemon &
55
waitForIpfs
66
ipfs pin remote service add origin $ENDPOINT $ACCESS_TOKEN
7-
CID=$(ipfs add -r -q $UPLOAD_PATH | tail -1)
7+
CID=$(ipfs add -r -q --cid-version 1 $UPLOAD_PATH | tail -1)
88
ipfs pin remote add --service=origin --name=$NAME $CID
99

10-
echo "::set-output name=cid::$CID"
10+
echo "::set-output name=cid::$CID"

0 commit comments

Comments
 (0)