Skip to content

Adjust workflow file #2

Adjust workflow file

Adjust workflow file #2

Workflow file for this run

name: Gem release
on: [ push ]
# on:
# push:
# branches:
# - main
jobs:
release:

Check failure on line 8 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 8
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2' # Not needed with a .ruby-version file
- name: Install dependencies
run: npm install && bundle install
- name: Build gem
run: gem build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
dry_run: true
env:
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}