diff --git a/.github/workflows/package-macos.yml b/.github/workflows/package-macos.yml index a00eb84f8..43c573e13 100644 --- a/.github/workflows/package-macos.yml +++ b/.github/workflows/package-macos.yml @@ -63,7 +63,7 @@ jobs: path: artifacts/ - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'create' + if: startsWith(github.ref, 'refs/tags/') with: files: artifacts/* env: diff --git a/.github/workflows/package-windows.yml b/.github/workflows/package-windows.yml index 7f5fd9cd8..8c9e6d29c 100644 --- a/.github/workflows/package-windows.yml +++ b/.github/workflows/package-windows.yml @@ -90,7 +90,7 @@ jobs: path: artifacts/ - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'create' + if: startsWith(github.ref, 'refs/tags/') with: files: artifacts/* env: