Enable Android APK build with Capacitor and add multi-platform CI/CD - #8
TechnologyStar wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # Create auto release on every push (non-tag) | ||
| auto-release: | ||
| needs: [build-windows, build-macos, build-linux, build-android] | ||
| runs-on: ubuntu-latest | ||
| if: "!startsWith(github.ref, 'refs/tags/')" |
There was a problem hiding this comment.
Auto-release publishes during pull_request builds
The auto-release job is gated only by if: "!startsWith(github.ref, 'refs/tags/')", so it runs for pull_request events as well as pushes, yet the steps later in the job call softprops/action-gh-release with GITHUB_TOKEN. On pull_request workflows—especially those from forks—GitHub supplies a read-only token that cannot create releases, so this job will fail and block PR CI even though no release should be published. Restrict the job to push/tag events or skip it for pull_request to avoid PR build failures.
Useful? React with 👍 / 👎.
Summary
This PR enables Android APK build support via Capacitor and introduces multi-platform CI/CD to automatically build and release desktop and Android artifacts.
Details
No breaking changes introduced.
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup