From 55d18be1f3b7e3c6e8695fd6e08d2e727d7195f6 Mon Sep 17 00:00:00 2001 From: Nicklas Wallgren Date: Sun, 17 Mar 2024 15:30:03 +0100 Subject: [PATCH] Add release github workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9ccf535 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index c319420..6f1383c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,7 +108,7 @@ dependencies = [ [[package]] name = "bankid" -version = "0.1.0" +version = "0.2.0" dependencies = [ "async-trait", "base64 0.22.0", diff --git a/Cargo.toml b/Cargo.toml index ff4019c..955f1e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bankid" -version = "0.1.0" +version = "0.2.0" authors = ["Nicklas Wallgren ", "Daniel L "] edition = "2018" license = "MIT"