Skip to content

Commit

Permalink
Merge pull request #10 from divviup/timg/release-crate-action
Browse files Browse the repository at this point in the history
Automate crate publishing
  • Loading branch information
tgeoghegan authored May 31, 2022
2 parents ddf75f8 + ccd1891 commit 5062e79
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: publish-crate

on:
release:
types: [published]

jobs:
crate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.DIVVIUP_AUTOMATON_CRATES_IO_API_TOKEN }}
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "hpke-dispatch"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
description = "runtime algorithmic selection for hybrid public key encryption"
license = "MIT OR Apache-2.0"
repository = "https://github.com/jbr/hpke-dispatch"
license = "MPL-2.0"
repository = "https://github.com/divviup/hpke-dispatch"
readme = "./README.md"
keywords = ["hpke", "encryption"]
categories = ["cryptography"]
Expand Down
Loading

0 comments on commit 5062e79

Please sign in to comment.