commit a99b2a3fa5d152e64ec43724c1d15fb5b6f28a62 parent 2b8b6427784a43aa2a6b9a3a6a3fcfed67835482 Author: Silas Brack <silasbrack@Silass-MacBook-Pro.local> Date: Sun, 8 Mar 2026 11:10:44 +0100 Add release with new binary Diffstat:
| M | .github/workflows/ci.yml | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git 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 }}