Publishing extension workflow is not working
muhammadsammy opened this issue ยท 16 comments
@muhammadsammy the logs aren't available so it's not possible to troubleshoot.
I will update the extension and new logs will be available and I will share them here
https://github.com/muhammadsammy/free-omnisharp-vscode/runs/4912860620?check_suite_focus=true
the error that happens now is different from the one before, the problem was the ci cannot find the vsix file to upload to OpenVSX on this step:
https://github.com/muhammadsammy/free-omnisharp-vscode/blob/f213efc9ead4357997f59ebe123c768482766043/.github/workflows/publish.yml#L25
I think it's because release-ci job was not completed before publish. Maybe try re-run publish.
just tried re-run the action, still the same error
That eleminated the error https://github.com/muhammadsammy/free-omnisharp-vscode/runs/4913046575?check_suite_focus=true
I will change the access token and try again
I think it seems to be fixed. the error from ovsx in the old logs was no such file or directory
but now it is extension is already published
https://github.com/muhammadsammy/free-omnisharp-vscode/runs/4913072637?check_suite_focus=true#step:8:7
Or should we try to bump version and try to actually publish the extension?
That's strange. If you didn't manually upload to open-vsx then I don't know how it was uploaded. Or did you? Because VSCodium showed an update and looks like it worked. I haven't tested too much but that https://github.com/OmniSharp/omnisharp-vscode/pull/4948/files works which was added with 1.24 release.
Oh yes I've uploaded it manually just after I merged changes from upstream.
Or it was automatically found by open-vsx. Maybe they have some bot which scans once in a while for new release?
yes, they have a bot that does this, but not for this repo, I think it's for extensions with no OpenVSX account
I've tried to pump version, change the gulp command and it was published successfully to OpenVSX: https://github.com/muhammadsammy/free-omnisharp-vscode/runs/4922065591?check_suite_focus=true#step:8:6
I do not know why the vsix file was not being detected before, but it works now
Thanks a lot, @pm4rcin!
Great to see it's working! One thing to note is that we should track progress on eclipse/openvsx#336 and make changes to workflows when new release of Omnisharp arrives.
@muhammadsammy open-vsx has merged the platform-specific PR. I think it'd be a good idea to edit CI and check now if it builds before new version of extension is released in the future.
The release-ci already creates platform-specific vsix files, but we need to modify publish ci to publish multiple platform specific versions