-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: prepare package configuration for CD Signed-off-by: Luca Georges Francois <[email protected]> * cd: add releaser configuration Signed-off-by: Luca Georges Francois <[email protected]> --------- Signed-off-by: Luca Georges Francois <[email protected]>
- Loading branch information
1 parent
7123c9b
commit f7ebeb5
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "CD" | ||
|
||
# Only triggers when there's a tag push. | ||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
publish: | ||
|
||
name: "Publish library to crates.io" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Clones the repository" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "Setup Rust toolchain" | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
|
||
- name: "Publish to crates.io" | ||
uses: katyo/publish-crates@v1 | ||
with: | ||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
ignore-unpublished-changes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ authors = ["Luca Georges François <[email protected]>"] | |
description = "Rust SDK for the Relay Data Transparency API on Ethereum" | ||
repository = "https://github.com/quartz-technology/redax-rs" | ||
license-file = "LICENSE" | ||
keywords = ["sdk", "ethereum", "mev", "relay"] | ||
categories = ["api-bindings"] | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|