From 3d60a150e2333b5e3910b714595ea47a58278109 Mon Sep 17 00:00:00 2001 From: Laurent Senta Date: Thu, 27 Jul 2023 14:25:06 +0200 Subject: [PATCH] ci: use w3 storage actions --- .github/workflows/release-fixtures.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-fixtures.yml b/.github/workflows/release-fixtures.yml index 7dc03f85f..87e1ce904 100644 --- a/.github/workflows/release-fixtures.yml +++ b/.github/workflows/release-fixtures.yml @@ -11,10 +11,13 @@ jobs: release: runs-on: ubuntu-latest steps: - - id: generate-fixtures + - name: Ganerate Fixtures env: W3STORAGE_TOKEN: ${{ secrets.W3STORAGE_TOKEN }} - uses: bash run: | make fixtures.car - curl -X POST 'https://api.web3.storage/car' # token should be in W3STORAGE_TOKEN \ No newline at end of file + - name: Upload fixtures + uses: web3-storage/add-to-web3@v2 + with: + web3_token: ${{ secrets.W3STORAGE_TOKEN }} + path_to_add: 'fixtures.car'