Skip to content

Debug refs to see if I can set version in release #15

Debug refs to see if I can set version in release

Debug refs to see if I can set version in release #15

Workflow file for this run

name: Publish Gem
on:
release:
types: [published]
push:
tags:
- *

Check failure on line 7 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write # mandatory for trusted publishing
contents: write # required for `rake release` to push the release tag
steps:
- uses: actions/checkout@v4
- 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