From fda2103674e2146f7a533c237b5d532f25dc9e47 Mon Sep 17 00:00:00 2001 From: Alexander Lang Date: Thu, 3 Sep 2026 12:38:50 +0000 Subject: [PATCH] add releasing gem when pushing tag --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..6713161 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Push gem + +on: + push: + tags: + - "v*" +jobs: + release: + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: + - uses: actions/checkout@v5 + with: + persist-credentials: false + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + ruby-version: ruby + - name: Release gem + uses: rubygems/release-gem@v1 \ No newline at end of file