Skip to content

Commit

Permalink
upload artifacts only if it's a release
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Apr 25, 2024
1 parent 2064723 commit c2c837c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit c2c837c

Please sign in to comment.