diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b85419b..479e7809 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,14 @@ jobs: mkdir -p "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples" mv examples/*.json "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples" + - name: Find and Replace @next with VERSION in /examples + uses: jacobtomlinson/gha-find-replace@v3 + with: + find: "@next" + replace: "v${{ steps.version_check.outputs.version }}" + include: "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples" + regex: false + - name: Checkout Dist Branch if: steps.version_check.outputs.changed == 'true' run: |