Skip to content

Improve embedded font handling and add debug options to GUI #7

Improve embedded font handling and add debug options to GUI

Improve embedded font handling and add debug options to GUI #7

Workflow file for this run

name: Build Plugin
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build plugin
run: python build_plugin.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: calibre-xtc-plugin
path: calibre_xtc_plugin.zip
retention-days: 30
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: calibre-xtc-plugin
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: calibre_xtc_plugin.zip
generate_release_notes: true