Skip to content

Commit eff27a1

Browse files
authored
Avoiding calling 'mv' when renaming the VSIX when it's unnecessary (#13631)
1 parent 01fc17d commit eff27a1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/insiders.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
id: build-vsix
5353

5454
- name: Rename VSIX
55+
if: steps.build-vsix.outputs.path != env.VSIX_NAME
5556
run: mv ${{ steps.build-vsix.outputs.path }} ${{ env.VSIX_NAME }}
5657

5758
- uses: actions/upload-artifact@v2

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
id: build-vsix
5454

5555
- name: Rename VSIX
56+
if: steps.build-vsix.outputs.path != env.VSIX_NAME
5657
run: mv ${{ steps.build-vsix.outputs.path }} ${{ env.VSIX_NAME }}
5758

5859
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)