Closed black-desk closed 3 months ago
@Freed-Wu
Confused too. Maybe the author of this github action @mrcjkb know it?
You have two options:
specrev
(the number after scm-
)--force
flag, which you can do with extra_luarocks_args
input. Alternatively, you can just create an scm rockspec that has the git repo as the source, and upload it manually, without using luarocks-tag-release. That way there's no need to update it unless the dependencies change. Here's an example.
You have two options:
- Increment the
specrev
(the number afterscm-
)- Add a
--force
flag, which you can do withextra_luarocks_args
input.
@mrcjkb
Should this github actioin failed in this situation?
It seems that error is not check here.
Alternatively, you can just create an scm rockspec that has the git repo as the source, and upload it manually, without using luarocks-tag-release. That way there's no need to update it unless the dependencies change. Here's an example.
Fixed.
Should this github actioin failed in this situation?
No, we have a fail_on_duplicate
option that is false
by default.
The reason is that using this workflow to upload scm rockspecs is an unlikely use case, and we want people to be able to run this action on every commit without it failing if a rock already exists.
Github action success.
https://github.com/black-desk/fcitx5-ui.nvim/actions/runs/9617057612/job/26527982673
logs_25176468782.zip
But rockspec not get updated.
https://luarocks.org/manifests/black-desk/fcitx5-ui.nvim-scm-1.rockspec
So what is going on here?