lens-vm / lens

Mozilla Public License 2.0
169 stars 5 forks source link

ci: Add a workflow to publish crate to crate.io #77

Closed shahzadlone closed 7 months ago

shahzadlone commented 7 months ago

Relevant issue(s)

Resolves #76

Description

shahzadlone commented 7 months ago

Here is a successful run that doesn't upload as for the current tag the crate is already pushed: https://github.com/lens-vm/lens/actions/runs/7025129284/job/19115465587

All else is done, the trigger is now manual.

@AndrewSisley you can try it out manually through the actions tab (it should be fine as long as the workflow file in on the default branch. i.e. main branch in this case).

shahzadlone commented 7 months ago

To manually trigger, after this PR is merged you will be shown a trigger button at: https://github.com/lens-vm/lens/actions/workflows/publish-crate.yml

AndrewSisley commented 7 months ago

Here is a successful run that doesn't upload as for the current tag the crate is already pushed

That doesn't look very successful :grin:

AndrewSisley commented 7 months ago

To manually trigger, after this PR is merged you will be shown a trigger button at: https://github.com/lens-vm/lens/actions/workflows/publish-crate.yml

Cheers, an on-demand workflow is much better than passing round creds or pushing with our users. You should probably remove mine and your users as owners of the crate now too.