Skip to content

Commit b6e14bf

Browse files
committed
Move sed command step before dependency install
1 parent ba5befe commit b6e14bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-latest-plugin-zip.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
fallback: 1.0.0
2424

25+
- name: Update version to latest trunk commit
26+
run: "find . -type f -exec sed -i 's/0.0.0-placeholder/${{ steps.get_tag.outputs.tag }}-dev-${{ github.sha }}/g' {} +"
27+
2528
- name: Setup Node.js
2629
uses: actions/setup-node@v4
2730
with:
@@ -30,9 +33,6 @@ jobs:
3033
- name: Install dependencies
3134
run: npm ci
3235

33-
- name: Update version to latest trunk commit
34-
run: "find . -type f -exec sed -i 's/0.0.0-placeholder/${{ steps.get_tag.outputs.tag }}-dev-${{ github.sha }}/g' {} +"
35-
3636
- name: Build and create plugin zip
3737
run: npm run plugin-zip
3838

0 commit comments

Comments
 (0)