From 67878f461640ab2ae2e09c28a1073b55027ec12d Mon Sep 17 00:00:00 2001 From: Michael Hale Date: Fri, 20 Sep 2024 10:49:43 -0400 Subject: [PATCH] add release workflow --- .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..bc6ba79 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Release to RubyGems.org + +jobs: + build: + runs-on: ubuntu-latest + name: Ruby ${{ matrix.ruby }} + strategy: + matrix: + ruby: + - '3.3.4' + + permissions: + contents: write + id-token: write + + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - uses: rubygems/release-gem@v1