Skip to content

Programmatically downloading extension #3696

Answered by fbricon
Chad-ll asked this question in Q&A
Discussion options

You must be logged in to vote

The number comes from the $GITHUB_RUN_NUMBER value https://github.com/redhat-developer/vscode-java/blob/master/.github/workflows/release.yml#L142. It's quite unpredictable unfortunately.

But you should be able to identify the assets you need by using Github's API: https://docs.github.com/en/rest/releases/assets?apiVersion=2022-11-28#list-release-assets

You could also query the VS Code Marketplace API to do something similar, but I don't have pointers to give you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Chad-ll
Comment options

Answer selected by Chad-ll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants