We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a22652e commit 33db85eCopy full SHA for 33db85e
.github/workflows/release.yml
@@ -11,11 +11,16 @@ jobs:
11
steps:
12
- uses: actions/checkout@v4
13
14
- - name: Upload plugin
15
- uses: actions/upload-artifact@v4
+ - name: Zip plugin
+ working-directory: calibre-plugin
16
+ run: |
17
+ zip --quiet -r ../"bookshare-plugin-${{ github.ref_name }}.zip" ./* -x "*.ui"
18
+
19
+ - name: Release plugin
20
+ uses: softprops/action-gh-release@v2
21
+ if: startsWith(github.ref, 'refs/tags/')
22
with:
- name: bookshare-plugin-${{ github.ref_name }}
- if-no-files-found: error
- path: |
- calibre-plugin/
- !calibre-plugin/*.ui
23
+ files: bookshare-plugin-${{ github.ref_name }}.zip
24
+ token: ${{ secrets.GITHUB_TOKEN }}
25
+ fail_on_unmatched_files: true
26
+ generate_release_notes: true
0 commit comments