Skip to content

Commit

Permalink
fix: add step to Github Action publish workflow to update version acr…
Browse files Browse the repository at this point in the history
…oss example files (#115)
  • Loading branch information
jessicamcinchak authored Feb 13, 2024
1 parent c459f79 commit 1fb9bf2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 1fb9bf2

Please sign in to comment.