CI: Tweaks for the tag creating jobs #594
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello there, this is a follow up to #589
Code changes
Some tweaks for the Github actions:
create-tags-for-past-releases
job runs beforecreate-git-tag
.Since jobs run in parallel
create-git-tag
could run beforecreate-tags-for-past-releases
and would create a tag for 0.19.0 on the latest commit onmaster
. The jobcreate-git-tag
will now always run aftercreate-tags-for-past-releases
.create-git-tag
fetch all Git history to actually be able to detect past tags.Now the checkout fetches the whole git history allowing it to see if the current version is indeed tagged or not.
Fine grain token
I have tested with the fine-grain tokens and the following setting works. @est31 may I ask you to do the following please
RustAudio/Rodio
repo.WORKFLOW_TOKEN
repo secret here (or create theWORKFLOW_TOKEN
secret if it doesn't exist) and paste the newly created fine-grained PAT.Here's a screenshot of my fine-grained PAT that succesfully ran on the
master
of my fork:Thanks!