From 3797ad3a1ac6222dc22887ab3d81fec1409823ea Mon Sep 17 00:00:00 2001 From: Jamie McCarthy Date: Tue, 16 Jan 2024 07:08:22 -0600 Subject: [PATCH] Add push_gem workflow --- .github/workflows/push_gem.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/push_gem.yml diff --git a/.github/workflows/push_gem.yml b/.github/workflows/push_gem.yml new file mode 100644 index 0000000..06fc409 --- /dev/null +++ b/.github/workflows/push_gem.yml @@ -0,0 +1,27 @@ +name: Push Gem + +on: + push: + tags: + - v* + +jobs: + push: + if: github.repository == 'jamiemccarthy/unreliable' + runs-on: ubuntu-latest + + permissions: + contents: write + id-token: write + + steps: + # Set up + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + ruby-version: ruby + + # Release + - uses: rubygems/release-gem@v1