Skip to content

ci(build): Add retry logic to desktop build workflow#73

Merged
rainxchzed merged 1 commit intomainfrom
generate-installers
Dec 20, 2025
Merged

ci(build): Add retry logic to desktop build workflow#73
rainxchzed merged 1 commit intomainfrom
generate-installers

Conversation

@rainxchzed
Copy link
Owner

This commit introduces a retry mechanism to the Gradle build commands in the build-desktop-platforms.yml GitHub Actions workflow. This is intended to improve the reliability of the build process by automatically retrying failed packaging tasks up to three times with an exponential backoff.

Key changes:

  • A retry shell function has been added to the Windows, macOS, and Linux build jobs.
  • The packageExe, packageMsi, packageDmg, packagePkg, packageDeb, and packageRpm Gradle tasks now use this retry logic.
  • The --no-daemon flag has been added to the Gradle commands to prevent potential build conflicts.
  • The AppImage packaging and upload steps have been removed from the Linux build job.
This commit introduces a retry mechanism to the Gradle build commands in the `build-desktop-platforms.yml` GitHub Actions workflow. This is intended to improve the reliability of the build process by automatically retrying failed packaging tasks up to three times with an exponential backoff.

Key changes:
- A `retry` shell function has been added to the Windows, macOS, and Linux build jobs.
- The `packageExe`, `packageMsi`, `packageDmg`, `packagePkg`, `packageDeb`, and `packageRpm` Gradle tasks now use this retry logic.
- The `--no-daemon` flag has been added to the Gradle commands to prevent potential build conflicts.
- The `AppImage` packaging and upload steps have been removed from the Linux build job.
@rainxchzed rainxchzed merged commit dc3ddc2 into main Dec 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant