diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 090af71..aeb5188 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,8 @@ jobs: - name: Build executable with pyinstaller run: python -m PyInstaller joplin_custom_importer.spec - uses: actions/upload-artifact@v4 + # upload artifacts only if it's a release + if: ${{ startsWith(github.ref, 'refs/tags/v') }} with: name: joplin-custom-importer-${{ matrix.os }} path: ./dist/joplin_custom_importer*