Skip to content

Fix GEM build + push command #2

Fix GEM build + push command

Fix GEM build + push command #2

Workflow file for this run

name: Publish GEM
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Release GEM
if: contains(github.ref, 'refs/tags/v')
uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND:
- gem build

Check failure on line 21 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish GEM

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 21, Col: 13): A sequence was not expected
- gem push janus-ar-*.gem