Skip to content

Commit 83b7edb

Browse files
authored
Add publishing via GitHub actions (#2)
* Add publishing via GitHub actions * Add description
1 parent 6c58fc3 commit 83b7edb

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions-rs/toolchain@v1
11+
with:
12+
toolchain: stable
13+
- run: cargo publish
14+
env:
15+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "jtd-infer"
3+
description = "Generate JSON Typedef schemas from example data"
34
version = "0.1.0"
45
authors = ["Ulysse Carion <[email protected]>"]
56
edition = "2018"

0 commit comments

Comments
 (0)