Skip to content

Merge pull request #5 from code0-tech/implement-code-signatures #1

Merge pull request #5 from code0-tech/implement-code-signatures

Merge pull request #5 from code0-tech/implement-code-signatures #1

Workflow file for this run

name: Push Gem
on:
push:
tags:
- '*'
jobs:
rubygems:
runs-on: ubuntu-latest
environment: rubygems
permissions:
id-token: write
steps:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
- name: Install gems
run: bundle install
- name: Set version
run: sed -i "s/VERSION = \"0.0.0\"/VERSION = \"${{ github.ref_name }}\"/" lib/code0/identities/version.rb && bundle
# Release
- uses: rubygems/[email protected]
- name: Publish gem
run: bundle exec rake release:rubygem_push
- name: Wait for release
run: gem exec rubygems-await pkg/*.gem