Skip to content

Commit

Permalink
Debug refs to see if I can set version in release
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Jan 25, 2024
1 parent ea47bef commit abf6cdd
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish Gem
on:
release:
types: [published]
push:
tags:
- "v**"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -10,9 +13,14 @@ jobs:
contents: write # required for `rake release` to push the release tag
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby
- uses: rubygems/release-gem@v1
- name: Inspect ref
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
# ruby-version: ruby
# - uses: rubygems/release-gem@v1

0 comments on commit abf6cdd

Please sign in to comment.