Skip to content

Commit

Permalink
Push action first test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmcfadden committed May 17, 2024
1 parent e709445 commit d70918b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/push_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Push Gem

on:
push:
tags:
- v*

permissions:
contents: read

jobs:
push:
if: github.repository == 'CompanyCam/ghx'
runs-on: ubuntu-latest

permissions:
contents: write
id-token: write

steps:
# Set up
- uses: actions/checkout@v4 # v4.1.5
- name: Set up Ruby
uses: ruby/setup-ruby@v1 # v1.176.0
with:
bundler-cache: true
ruby-version: ruby

# Release
- uses: rubygems/release-gem@v1 # v1
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require 'bundler'
Bundler::GemHelper.install_tasks

0 comments on commit d70918b

Please sign in to comment.