Skip to content

Commit

Permalink
Generate types.json, include with augment-api and release artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonwells committed Oct 4, 2024
1 parent cd4fcdf commit defb05f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ jobs:
- name: Output Metadata
run: ${{env.BIN_DIR}}/${{env.RELEASE_BIN_FILENAME}} export-metadata --chain=frequency-paseo-local --tmp ./js/api-augment/metadata.json
- name: Build
run: npm run build
run: |
npm run build
working-directory: js/api-augment
- name: Upload Dist Dir
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -718,6 +719,12 @@ jobs:
pattern: artifacts-*-${{github.run_id}}
path: /tmp
merge-multiple: true
- name: Download api-augment artifacts
id: download-js
uses: actions/download-artifact@v4
with:
name: js-api-augment-${{github.run_id}}/js/api-augment/json
path: /tmp/polkadot-api-types-json
- name: List Downloaded Artifacts
working-directory: /tmp
run: |
Expand Down

0 comments on commit defb05f

Please sign in to comment.