From edd98ff9675a9c36405181c06cd9827983d7773a Mon Sep 17 00:00:00 2001 From: Sevki Date: Fri, 15 Mar 2024 17:50:04 +0000 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 0000000..c6633bb --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,18 @@ +name: Release +on: + push: + tags: + - '*' + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: katyo/publish-crates@v2 + with: + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}