Skip to content

Commit

Permalink
fix: use specific w3cli version
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Sep 19, 2023
1 parent 00fe83c commit b0d9bc7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,28 @@ jobs:
if-no-files-found: error

- name: w3cli whoami
run: npx -y --package=@web3-storage/w3cli -- w3 whoami
run: npx -y --package=@web3-storage/w3cli@v4.2.0 -- w3 whoami

- name: w3cli add ipfs-webui-ci space
run: |
cat "${W3CLI_DELEGATION_PROOF_BASE64}" | base64 -d > ./ipfs-webui-ci-space.ucan.proof
npx -y --package=@web3-storage/w3cli -- w3 space add './ipfs-webui-ci-space.ucan.proof'
npx -y --package=@web3-storage/w3cli@v4.2.0 -- w3 space add './ipfs-webui-ci-space.ucan.proof'
env:
W3CLI_DELEGATION_PROOF_BASE64: ${{ secrets.W3CLI_DELEGATION_PROOF_BASE64 }}

# - name: use ipfs-webui space
# run: npx -y --package=@web3-storage/w3cli -- w3 space create './ipfs-webui-ci-space.ucan.proof'
# run: npx -y --package=@web3-storage/w3cli@v4.2.0 -- w3 space create './ipfs-webui-ci-space.ucan.proof'
# env:
# W3_SPACE_DID: ${{ secrets.W3_SPACE_DID }}

# - name: use ipfs-webui space
# run: npx -y --package=@web3-storage/w3cli -- w3 space use "${W3_SPACE_DID}"
# run: npx -y --package=@web3-storage/w3cli@v4.2.0 -- w3 space use "${W3_SPACE_DID}"
# env:
# W3_SPACE_DID: ${{ secrets.W3_SPACE_DID }}

- name: use w3cli to upload the car file
run: |
npx -y --package=@web3-storage/w3cli -- w3 up -c ipfs-webui_${{ github.sha }}.car
npx -y --package=@web3-storage/w3cli@v4.2.0 -- w3 up -c ipfs-webui_${{ github.sha }}.car
# - name: Pin to estuary.tech
# id: pin-estuary
Expand Down

0 comments on commit b0d9bc7

Please sign in to comment.