Fix CI - can't have a / in the job id
change zpptkqnpuysmxtqnrmpruxvqqqkqxuww
commit ac32f7786877c682766f10c6994ada8f0654b187
author Alpha Chen <alpha@kejadlen.dev>
date
parent srmtwtzv
diff --git a/.quire/ci.fnl b/.quire/ci.fnl
index 5c6b167..33e2b19 100644
--- a/.quire/ci.fnl
+++ b/.quire/ci.fnl
@@ -3,14 +3,15 @@
 
 ; (job :test [:quire/push] (fn [] (runtime.sh [:cargo :test])))
 
-(job "quire/mirror" [:quire/push]
-  (fn []
-    (let [{: jobs : secret} (. (require :quire.ci) :runtime)
-          push (jobs :quire/push)]
-      (when (= push.ref "refs/heads/main")
-        (mirror {:url "https://github.com/kejadlen/quire.git"
-                 :auth-header (secret :github_auth_header)
-                 :sha push.sha
-                 :tag (.. "v" (os.date "!%Y-%m-%d") "-" (push.sha:sub 1 8))
-                 :git-dir push.git-dir
-                 :refs ["refs/heads/main"]})))))
+(job :mirror [:quire/push]
+     (fn []
+       (let [{: jobs : secret} (. (require :quire.ci) :runtime)
+             push (jobs :quire/push)]
+         (when (= push.ref :refs/heads/main)
+           (mirror {:url "https://github.com/kejadlen/quire.git"
+                    :auth-header (secret :github_auth_header)
+                    :sha push.sha
+                    :tag (.. :v (os.date "!%Y-%m-%d") "-" (push.sha:sub 1 8))
+                    :git-dir push.git-dir
+                    :refs [:refs/heads/main]})))))
+