Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(ci): create release for web-clipper
Elian Doran2d126c9cec11
diff --git a/.github/workflows/web-clipper.yml b/.github/workflows/web-clipper.ymlindex ef360a5a93..a8110cf34b 100644--- a/.github/workflows/web-clipper.yml+++ b/.github/workflows/web-clipper.yml@@ -6,11 +6,21 @@ on:- mainpaths:- "apps/web-clipper/**"+ tags:+ - "web-clipper-v*"pull_request:paths:- "apps/web-clipper/**"+permissions:+ contents: write+ discussions: write++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:build:runs-on: ubuntu-latest@@ -39,9 +49,22 @@ jobs:- name: Upload build artifactsuses: actions/upload-artifact@v6+ if: ${{ !startsWith(github.ref, 'refs/tags/v') }}with:name: web-clipper-extensionpath: apps/web-clipper/.output/*.zipinclude-hidden-files: trueif-no-files-found: errorcompression-level: 0++ - name: Release web clipper extension+ uses: softprops/[email protected]+ if: ${{ startsWith(github.ref, 'refs/tags/web-clipper-v') }}+ with:+ draft: false+ fail_on_unmatched_files: true+ files: apps/web-clipper/.output/*.zip+ discussion_category_name: Releases+ make_latest: false+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}