Skip to content

.github/workflows/release.yaml #16

.github/workflows/release.yaml

.github/workflows/release.yaml #16

Workflow file for this run

on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build
run: |
nix build -L
cp -vL result/*.tar.xz ./
- name: Release
uses: ncipollo/release-action@main
with:
token: "${{ secrets.TOKEN }}"
artifacts: "*.tar.xz"
omitBody: true
allowUpdates: true
omitName: true
replacesArtifacts: true