From c2a12d8bfff0b259cc99b38a0067bd6fac5800af Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia <7854099+viferga@users.noreply.github.com> Date: Wed, 31 Jan 2024 19:41:13 -0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c08373d..3d522a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,6 @@ on: push: - tags: - - 'v*.*.*' + jobs: build: runs-on: windows-2019 @@ -21,5 +20,7 @@ jobs: run: .\build.bat ${{ env.NODEJS_VERSION }} - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - files: .\node-shared-v${{ env.NODEJS_VERSION }}-x64.zip + fail_on_unmatched_files: true + files: node-shared-v${{ env.NODEJS_VERSION }}-x64.zip