Skip to content

Commit

Permalink
Merge pull request #215 from e-identification/chore/release-to-create…
Browse files Browse the repository at this point in the history
…s-io-workflow

Add release github workflow
  • Loading branch information
NicklasWallgren authored Mar 18, 2024
2 parents 08b73b1 + 55d18be commit 8da65a7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
release:
types:
- created
name: release
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Publish on creates.io
uses: actions-rs/cargo@v1
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
command: publish
args: --verbose
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bankid"
version = "0.1.0"
version = "0.2.0"
authors = ["Nicklas Wallgren <nicklas.wallgren@gmail.com>", "Daniel L <https://github.com/dlq84>"]
edition = "2018"
license = "MIT"
Expand Down

0 comments on commit 8da65a7

Please sign in to comment.