Added Debian package for Mona Sans/Mono fonts#106
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions release workflow to produce and publish a Debian (.deb) package for Mona Sans/Mona Sans Mono (targeting Ubuntu 24.04 LTS), alongside the existing release zip bundles.
Changes:
- Expose the computed
version/tagfrom thebuildjob via job outputs so downstream jobs can reuse them. - Upload the generated release zip files and built
fonts/directory as artifacts from thebuildjob. - Add a
build-debjob that downloads the built fonts, assembles a.deb, and makes it available to thereleasejob to publish with the rest of the release assets.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Adds Debian packaging to the existing release workflow so Linux users (Ubuntu 24.04 LTS) can install Mona Sans/Mona Sans Mono via a .deb produced alongside the existing zip artifacts.
Changes:
- Expose
buildjob version/tag outputs for downstream jobs. - Upload build outputs as GitHub Actions artifacts (fonts + release zips).
- Add a
build-debjob to assemble and upload a Debian.deb, and update thereleasejob to attach all assets.
Comments suppressed due to low confidence (1)
.github/workflows/release.yml:193
- The zip and deb artifacts are uploaded from
release-artifacts/*.zip/release-artifacts/*.deb(so files are stored with therelease-artifacts/prefix). Downloading them intopath: release-artifacts/will likely create a nestedrelease-artifacts/release-artifacts/...directory, and thenfiles: release-artifacts/*plus the summaryfind ... -maxdepth 1won't see the assets. Download into the workspace root (or change the upload paths / release glob) so the files end up directly under a singlerelease-artifacts/directory.
- name: Download zip artifacts
uses: actions/download-artifact@v4
with:
name: mona-sans-release-zips-v${{ needs.build.outputs.version }}
path: release-artifacts/
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
kylewaynebenson
left a comment
There was a problem hiding this comment.
Thanks for the contribution. We haven't been able to use this action in a release yet. Hoping it'll work for the next one!
Linux users at GitHub need to manually install Mona Sans/Mono for it to work on their operating system. With the advent of M365, that becomes very relevant since the font is not provided by M365 at this time, and all documents on Linux are written/produced within the browser (Edge).
This PR adds a Debian package for the approved desktop environment (Ubuntu 24.04 LTS).