add auto-release on main

This commit is contained in:
tnichols217 2025-10-26 15:37:26 -04:00
parent 292f693c37
commit 480b31ff2b
No known key found for this signature in database
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,8 @@
name: Releases
on:
push:
tags:
- 'release-*'
branches:
- main
workflow_dispatch:
jobs:
build:
@ -35,6 +35,11 @@ jobs:
shell: bash
run: |
nix build --experimental-features "nix-command flakes" .#deploy
- name: Get current datetime
id: datetime
run: echo "now=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
- uses: ncipollo/release-action@v1
with:
artifacts: "result/pdf/*,result/*.tar.gz"
tag: release-${{ steps.datetime.outputs.now }}-${{ github.run_number }}
name: ${{ steps.datetime.outputs.now }}

View File

@ -21,6 +21,7 @@
stringi
];
p = with pkgs; [
act
podman-compose
podman
(quarto.override {