Commit Graph
4 Commits
Author SHA1 Message Date
BacteriaandGitHub a6b1cf1e28 [ci skip]Remove publish step from CI workflow
Removed the publish step from the CI workflow.
2026-07-09 19:29:51 +08:00
Bacteria 16f5ff22de Checkout submodules recursively in workflows
Add 'submodules: recursive' to the actions/checkout step in build-pr.yml, build.yml, and publish-api.yml so CI jobs fetch repository submodules. This ensures submodules are available during builds and aligns checkout configuration across workflows (keeping fetch-depth: 0 where already set).
2026-07-09 18:51:02 +08:00
Bacteria ac5e37415a [ci skip]Skip workflows on pull_request events
Add job-level condition in build.yml and publish-api.yml to skip running the build and publish jobs when the GitHub event is a pull_request. This ensures these jobs only run for non-PR events (e.g., push, workflow_dispatch) and avoids executing them for pull request events.
2026-07-09 18:29:27 +08:00
Bacteria 3082c3f1d1 Add CI workflows, dependabot and env script
Introduce CI infrastructure: add Dependabot config to update GitHub Actions and Gradle dependencies weekly; add build-pr workflow to run PR builds, create the paperclip JAR, and upload artifacts; add full Camellia CI workflow to build, set environment, upload artifacts, optionally publish to Maven and create GitHub releases (with release notes and prerelease handling); add publish-api workflow to publish the API artifact. Also add scripts/SetENV.sh which reads gradle.properties, computes build/release flags, renames the paperclip jar and exports environment variables for the workflows. These changes set up automated builds, dependency maintenance, publishing and release automation for the project.
2026-07-09 18:22:49 +08:00