This directory contains GitHub Actions workflows for automating various tasks in the Archimedius project.
The build-installers.yml workflow automatically builds installers for macOS and Windows when a new release is created on GitHub.
- When you create a new release on GitHub, the workflow is triggered automatically.
- It builds a macOS .dmg installer and a Windows .exe installer.
- The installers are automatically attached to the GitHub release.
For the workflow to function properly:
-
Icons:
- macOS icon:
resources/archimedius.icns - Windows icon:
resources/archimedius.icoBoth icons are already included in the repository.
- macOS icon:
-
LICENSE file:
- Ensure the LICENSE file is in the root of the repository (used in the Windows installer)
-
Dependencies:
- Make sure all required dependencies are listed in
requirements.txt
- Make sure all required dependencies are listed in
To create a new release and trigger the workflow:
- Go to the "Releases" section of your GitHub repository
- Click "Draft a new release"
- Enter a tag version (e.g.,
v0.1.0) - Enter a release title and description
- Click "Publish release"
The workflow will start automatically, and the installers will be attached to the release when they're ready.
To customize the installers:
- macOS: Edit the
setup.pysection in the workflow file to change app metadata - Windows: Edit the NSIS script section to customize the installer behavior
- Icons: Replace the icon files in the
resourcesdirectory with your own versions if you want to change them
If the workflow fails:
- Check the workflow run logs on GitHub
- Ensure all required files are present in the repository
- Verify that the repository has the necessary permissions to upload release assets