From c162d112989707bbbb5378a2ec419e28e59ca935 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Tue, 13 Feb 2024 09:48:21 +0100 Subject: [PATCH] add this step --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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: |