1 parent f6e164e commit 46629fcCopy full SHA for 46629fc
1 file changed
.github/workflows/cd.yml
@@ -1,11 +1,11 @@
1
on:
2
push:
3
branches: [main]
4
+ tags: [v*]
5
workflow_dispatch:
6
7
jobs:
8
release:
- if: github.ref == 'refs/heads/main'
9
timeout-minutes: 5
10
runs-on: ubuntu-latest
11
environment:
@@ -30,6 +30,7 @@ jobs:
30
nix develop -c just build
31
nix develop -c just build-fr
32
- name: Publish Timestamped Pre-Release
33
+ if: github.ref == 'refs/heads/main'
34
run: |
35
NOW=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
36
gh release create "pre-$(date -u +%Y-%m-%dT%H-%M-%S)" *.json \
0 commit comments