asciidoctor-foodogsquared-e.../.github/workflows/build.yml

21 lines
580 B
YAML

name: Publish gem
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-action@v2
- uses: DeterminateSystems/nix-installer-actions@v5
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Release Gem
uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: nix develop -c rake release