From 94d6e6d75344526d68b772a74b271ef94703b4d2 Mon Sep 17 00:00:00 2001 From: yassun7010 Date: Sat, 13 Jan 2024 13:20:34 +0900 Subject: [PATCH] ci: add publish ci. --- .github/workflows/Publish.yml | 16 ++++++++++++++++ 1 file changed, 16 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..7badc77 --- /dev/null +++ b/.github/workflows/Publish.yml @@ -0,0 +1,16 @@ +name: Publish + +on: + push: + tags: + - "v*" + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: ./scripts/publish.sh + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}