Skip to content

Commit e9b064b

Browse files
committed
Fix windows build
1 parent db478a8 commit e9b064b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ jobs:
2323
- name: get-npm-version
2424
id: package-version
2525
uses: martinbeentjes/npm-get-version-action@master
26+
if: ${{ matrix.platform == 'ubuntu-16.04' }}
2627

2728
- name: Validate version
2829
run: echo "Wrong tag"
29-
if: ${{ github.event.release.tag_name != format('{0}{1}', 'v', steps.package-version.outputs.current-version) }}
30+
if: ${{ matrix.platform == 'ubuntu-16.04' && github.event.release.tag_name != format('{0}{1}', 'v', steps.package-version.outputs.current-version) }}
3031

3132
- name: Get current date
3233
uses: 1466587594/get-current-time@v2

0 commit comments

Comments
 (0)