From 5559aef11e120eff3403025061c8a4252200bcc0 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Mon, 13 Jan 2025 23:25:04 -0700 Subject: [PATCH] Add github action to automatically publish new version --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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..7a63f63 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses actions/checkout@v4 + - name: Install toolchain + run: | + rustup toolchain install stable --profile minimal + rustup default stable + - name: Publish + run: cargo publish +