Skip to content

Commit 0d2cbba

Browse files
committed
crates.io action
1 parent 7e8c063 commit 0d2cbba

File tree

6 files changed

+56
-38
lines changed

6 files changed

+56
-38
lines changed

.github/workflows/crates.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
# Pattern matched against refs/tags
4+
branch: ["master"]
5+
tags:
6+
- "*" # Push events to every tag not containing /
7+
workflow_dispatch:
8+
9+
name: Publish to crates.io
10+
11+
jobs:
12+
publish:
13+
name: Publish
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout sources
17+
uses: actions/checkout@v2
18+
19+
- name: Install Nightly toolchain
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
profile: minimal
23+
toolchain: nightly
24+
override: true
25+
26+
- run: cargo publish --token ${CRATES_TOKEN}
27+
env:
28+
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

Cargo.lock

Lines changed: 24 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[workspace]
2-
members=["tinydancer","logger", ]
2+
members=["tinydancer","logger", ]

f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
RUST_LOG=info cargo r -r "/tmp" --cluster Localnet
1+
RUST_LOG=info cargo r -r "/tmp" --cluster Localnet --enable-ui-service

logger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tiny-logger"
33
version = "1.16.0"
4-
description = "Solana Logger"
4+
description = "A fork of Solana Logger for Tinydancer"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/tinydancer-io/tinydancer"
77
license = "Apache-2.0"

tinydancer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default-run = "tinydancer"
66
authors = ["Anoushk Kharangate <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
description = "A light client for the solana blockchain "
9-
readme = "README.md"
9+
readme = "../readme.md"
1010
homepage = "https://docs.tinydancer.io"
1111
repository = "https://github.com/tinydancer-io/half-baked-client"
1212
keywords = ["cli", "search", "demo"]

0 commit comments

Comments
 (0)