Skip to content

Add GitHub Actions workflow for automated releases and binary builds - #25

Open
marvin1099 wants to merge 1 commit into
GoBig87:mainfrom
marvin1099:main
Open

Add GitHub Actions workflow for automated releases and binary builds#25
marvin1099 wants to merge 1 commit into
GoBig87:mainfrom
marvin1099:main

Conversation

@marvin1099

@marvin1099 marvin1099 commented Jul 18, 2026

Copy link
Copy Markdown

This PR adds a GitHub Actions workflow that automatically builds the project and publishes a release containing the compiled NordVPN-GUI binary.

In detail added:

  • GitHub Actions workflow to build the application automatically.
  • Automatic release creation with the compiled binary attached.
  • Support for two release methods:
    • Manual workflow dispatch, where a tag name is provided as input.
    • Automatic execution whenever a new Git tag is pushed, creating a corresponding GitHub Release with the built binary.

This removes the need to build and package releases manually.

This is why:

I originally created this to make the repository easier to maintain and to ensure users can always download a prebuilt binary without compiling the project themselves.

I know that NordVPN now provides an official open-source Linux GUI as part of the NordSecurity/nordvpn-linux repository, so this project is no longer the primary option for Linux users.

That said, I still think it's valuable to keep this repository in a working state. It can serve as a useful reference implementation, preserve the project's history, and remain available for anyone interested in the original approach.

If this repository continues to exist, having an automated build and release pipeline makes maintenance much easier.

This release was auto generated as example:
https://github.com/marvin1099/NordVpnLinuxGUI/releases/tag/v1.0.5

By default releases have
Title: Release $TAGNAME
Body: Compiled binary for NordVPN-GUI.

In the example i changed Title and Body manually but the binary was generated.

- Add GitHub Actions workflow (.github/workflows/compile-and-release.yml)
  to build and release NordVPN-GUI on tag pushes and manual triggers
- Add bin-installer.py: PyInstaller-based build script with venv setup,
  dependency installation, and app installation logic
- Add binreqs.py for runtime dependency checks
- Update requirements.txt with pinned dependency versions
- Update .gitignore for build artifacts and cache

The GitHub Actions build uses xvfb to provide a virtual X display for
Kivy's PyInstaller hook, which tries to initialize an X11 window during
module analysis. Builds include retry logic for reliability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant