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

21 lines
580 B
YAML
Raw Normal View History

2023-07-07 10:36:10 +00:00
name: Publish gem
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-10-28 10:19:01 +00:00
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-action@v2
- uses: DeterminateSystems/nix-installer-actions@v5
2023-07-07 17:06:21 +00:00
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}}
2023-10-28 10:19:01 +00:00
RELEASE_COMMAND: nix develop -c rake release