Skip to content

Commit

Permalink
fix: set correct SDK version in SDK reference docs (#2076)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSchwert authored Aug 6, 2024
1 parent ed1f91a commit 623c9f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ jobs:
node-version-file: .nvmrc
cache: "yarn"

- name: Update SDK package.json version
run: |
tmp=$(mktemp)
jq '.version = "${{ env.VERSION }}"' ./package.json > "$tmp" && mv "$tmp" ./package.json
shell: bash

- name: Restore cached node_modules
id: restore-cache-node_modules
uses: actions/cache@v4
Expand All @@ -107,6 +101,12 @@ jobs:
- name: Build
run: export NODE_OPTIONS=--max-old-space-size=6144 && yarn build

- name: Update SDK package.json version
run: |
tmp=$(mktemp)
jq '.version = "${{ env.VERSION }}"' ./sdk/package.json > "$tmp" && mv "$tmp" ./sdk/package.json
shell: bash

- name: Build SDK Docs
run: yarn docs:build

Expand Down

0 comments on commit 623c9f2

Please sign in to comment.