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.
#19
This PR adds a workflow (Continuous delivery) to publish crates to crates.io.
Spec
Trigger
Continuous delivery workflow is triggered by pushing tags to the remote repository.
Tag must be of the form
vX.Y.Z
orvX.Y.Z-SUFFIX
.A tag with suffix means pre-release version and it enables
--dry-run
mode.Secrets
Please set
CARGO_REGISTRY_TOKEN
for the authentication token for crates.io.Jobs
test
ci.yaml
.publish
apalis-core
,apalis-cron
,apalis-redis
,apalis-sql
, andapalis
) in an appropriate order.Cargo.toml
), the job fails before pushing the crates.Test
I have created
v0.3.4-rc10
tag and confirmed that the workflow succeeds.https://github.com/autotaker/apalis/actions/runs/3355470587
Other changes
ci.yaml
is changedmaster
/develop
)workflow_call
trigger to call CI workflow from CD workflow.