Skip to content

Commit 5062e79

Browse files
authored
Merge pull request #10 from divviup/timg/release-crate-action
Automate crate publishing
2 parents ddf75f8 + ccd1891 commit 5062e79

File tree

3 files changed

+392
-3
lines changed

3 files changed

+392
-3
lines changed

.github/workflows/publish-crate.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: publish-crate
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
crate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- run: cargo publish
13+
env:
14+
CARGO_REGISTRY_TOKEN: ${{ secrets.DIVVIUP_AUTOMATON_CRATES_IO_API_TOKEN }}

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "hpke-dispatch"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
description = "runtime algorithmic selection for hybrid public key encryption"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/jbr/hpke-dispatch"
6+
license = "MPL-2.0"
7+
repository = "https://github.com/divviup/hpke-dispatch"
88
readme = "./README.md"
99
keywords = ["hpke", "encryption"]
1010
categories = ["cryptography"]

0 commit comments

Comments
 (0)