mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-31 04:58:07 +00:00
22 lines
627 B
YAML
22 lines
627 B
YAML
name: Publish gem
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
|
- uses: DeterminateSystems/nix-installer-action@v6
|
|
with:
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: nix develop -c rake spec
|
|
- 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
|