add auto-release on main (#8)

This commit is contained in:
tnichols217 2025-10-26 19:39:09 +00:00 committed by GitHub
parent 292f693c37
commit 2ea9cc126f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 {