Skip to content

feat!: update to work with w3up api #125

feat!: update to work with w3up api

feat!: update to work with w3up api #125

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run 1 - upload
uses: ./
id: run1
with:
proof: ${{ secrets.W3_PROOF }}
secret_key: ${{ secrets.W3_PRINCIPAL }}
path_to_add: 'test/fixtures'
- name: test run 1 output
run: echo "unexpected output cid" && exit 1
if: ${{ steps.run1.outputs.cid != 'bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy' }}
- name: run 2 - upload with no_wrap true
uses: ./
id: run2
with:
proof: ${{ secrets.W3_PROOF }}
secret_key: ${{ secrets.W3_PRINCIPAL }}
path_to_add: 'test/fixtures'
wrap: true
- name: test run 2 output
run: echo "unexpected output cid" && exit 1
if: ${{ steps.run2.outputs.cid != 'bafybeifpw7nrh374rzfcxpaw3bkp6fr7djmujg5wvib6ma7i7n76t3k53q' }}