-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish to Windows Package Managar (WinGet) #3071
Comments
I made a draft on jdk11, if this is what you want? @vedantmgoyal2009 |
I've updated to add JRE too. |
This seems like the logical thing to do here. The manifests are currently being manually updated although it's not something that I've been doing myself. I would say let's role this out for the 8-18 repos and see how stable it is |
@gdams The internal CI which publishes GitHub releases can trigger the WinGet workflow programmatically after all 4 binaries have been published (JDK/JRE x64/x86) and pass the GitHub release tag with it (see https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event to how to do it). References: |
@gdams @karianna From some discussion in adoptium/temurin11-binaries#11, I came to know that not all binaries are published along with the release. So, we might want to trigger the WinGet workflow from the internal CI which uploads Windows MSI binaries to GitHub. Use GitHub CLI to create Main Documentation: https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event References:
|
Any progress on this? Using winget the latest versions are currently not available and therefore contain open CVEs (CVSS 7,5 iirc). |
@gdams Let's discuss when we next meet up - not sure where this is these days. |
I think this certainly makes sense to me. We'd have to ensure that the workflow supports multiarch packages (x64 and ARM64) |
With every new release of Temurin JDKs/JREs, use a GitHub workflow to update manifests at https://github.com/microsoft/winget-pkgs repository.
The workflow will be added to every release repository:
Prerequisites:
public_repo
andworkflow
.Existing projects which use the action: https://github.com/search?q=vedantmgoyal2009%2Fwinget-releaser+path%3A.github%2Fworkflows%2F+language%3AYAML&type=Code&s=indexed&o=desc
P.S. I can create PRs for every repository.
Edit: Replaced extraneous reference of temurin18 with temurin19 (beta).
The text was updated successfully, but these errors were encountered: