Skip to content

Release

Release #87

Workflow file for this run

name: Release
on:
workflow_run:
workflows: [Build]
types: [completed]
branches: [main]
concurrency:
group: release
cancel-in-progress: true
jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: devenv
- name: Install devenv
run: nix-env -if https://install.devenv.sh/latest
- name: Run semantic-release
run: devenv shell semantic-release
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}