From a99b2a3fa5d152e64ec43724c1d15fb5b6f28a62 Mon Sep 17 00:00:00 2001 From: Silas Brack Date: Sun, 8 Mar 2026 11:10:44 +0100 Subject: [PATCH] Add release with new binary --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18044bb..e45b5f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: pull_request: push: branches: ["main"] + tags: ["v*"] jobs: build: name: Build packages @@ -20,3 +21,13 @@ jobs: - run: nix --print-build-logs build .#packages.$SYSTEM.default env: SYSTEM: ${{ matrix.system }} + + - name: Prepare release artifact + if: startsWith(github.ref, 'refs/tags/') + run: cp result/bin/mkv mkv-${{ matrix.system }} + + - name: Create release + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: mkv-${{ matrix.system }}