Skip to content

Update ubuntu in Github Actions to latest LTS (24.04) #2

Update ubuntu in Github Actions to latest LTS (24.04)

Update ubuntu in Github Actions to latest LTS (24.04) #2

name: 'Publish (manual)'
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to publish (scip-ruby-vM.N.P)'
type: string
jobs:
download-and-publish-gems:
name: 'Download and publish gems'
runs-on: 'ubuntu-24.04
env:
TAG: ${{ inputs.tag }}
steps:
- name: 'Download release artifacts'
run: gh release download ${{ env.TAG }} --pattern '*.gem' --repo sourcegraph/scip-ruby

Check failure on line 17 in .github/workflows/publish-manual.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-manual.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Publish gems'
run: |
for g in *.gem; do
GEM_HOST_API_KEY=${{ secrets.RUBYGEMS_API_KEY }} gem push "$g"
done