Skip to content

Add CI workflows to support tag and branch builds#4691

Merged
MilosKozak merged 1 commit intonightscout:devfrom
Angus-repo:aaps-ci-tags
Apr 7, 2026
Merged

Add CI workflows to support tag and branch builds#4691
MilosKozak merged 1 commit intonightscout:devfrom
Angus-repo:aaps-ci-tags

Conversation

@Angus-repo
Copy link
Copy Markdown
Contributor

@Angus-repo Angus-repo commented Apr 6, 2026

@MilosKozak
Modify aaps-ci to support building APKs for 3.x versions.
圖片

Add branch-ci for testers who need to build the dev branch (this preserves the original aaps-ci behavior).
圖片

Upgrade setup-java from v4 to v5.

Important: Because the GitHub Actions UI cannot load options dynamically, whenever a new tag is added or the JVM mapping changes, the following files must be updated manually:
1. aaps-ci: add the latest tag to the dropdown menu
圖片

2.	jdk-map.json: add the JDK version mapping for the tag and update the latest version mapping
圖片

Changes to GitHub Actions only take effect after they are merged into the default branch (master).

please review

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 6, 2026

@MilosKozak MilosKozak merged commit c637537 into nightscout:dev Apr 7, 2026
2 of 4 checks passed
@MilosKozak
Copy link
Copy Markdown
Contributor

@Angus-repo
good! but this broke building from branch (ie dev)

@Angus-repo
Copy link
Copy Markdown
Contributor Author

@MilosKozak
Because aaps-ci is intended for general users, I kept aaps-ci for public use, while using branch-ci when there is a need to build other branches.
I have also added this explanation to the documentation.

openaps/AndroidAPSdocs/#2557

please review

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.

2 participants