From b7e89fed616701713455916ff074b5ad05cda26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pietrus?= Date: Thu, 8 Aug 2024 16:01:15 +0200 Subject: [PATCH] chore: Create publish.yml --- .github/workflows/publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..34f2d77f --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +name: Publish to crates.io + +on: + push: + tags: + - "v*" + +jobs: + publish_keriox_core: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: katyo/publish-crates@v2 + with: + path: "./keriox_core" + registry-token: ${{ secrets.CRATES_TOKEN }}