From 067e7cde0189b58eccbbc0d82fb19ce13b340a7b Mon Sep 17 00:00:00 2001 From: Matthew Rampey Date: Tue, 16 Jan 2024 14:07:03 -0700 Subject: [PATCH] Update Ruby Pkg Publisher --- .github/workflows/publish-on-push.yaml | 19 ++++++++++--------- lib/field_struct/avro_schema/version.rb | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-on-push.yaml b/.github/workflows/publish-on-push.yaml index 00f10b7..f3449ea 100644 --- a/.github/workflows/publish-on-push.yaml +++ b/.github/workflows/publish-on-push.yaml @@ -4,12 +4,13 @@ on: push jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build and publish gem - uses: jstastny/publish-gem-to-github@v2.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - owner: acima-credit + build-and-push: + name: Build And Push Gems + uses: upbound-group/ruby-actions/.github/workflows/reusable_push_gems.yml@main # locking to `main` branch for latest updates for now + secrets: inherit + permissions: + contents: read + packages: write + with: + registry-url: "https://rubygems.pkg.github.com/acima-credit" + use-github-token-as-bearer-token: true diff --git a/lib/field_struct/avro_schema/version.rb b/lib/field_struct/avro_schema/version.rb index de6ecee..06f8f76 100644 --- a/lib/field_struct/avro_schema/version.rb +++ b/lib/field_struct/avro_schema/version.rb @@ -2,6 +2,6 @@ module FieldStruct module AvroSchema - VERSION = '0.1.22' + VERSION = '0.1.23' end end