Liking cljdoc? Tell your friends :D


Clojars Project Test status Release status

An example of testing & releasing a Clojure library using Github Actions

See here:

Future ideas:

  • Reuse the jar built by the test workflow in the deploy workflow
  • Automate commiting and tagging a release
  • Sign releases

A Word on Authentication

  • A Clojars deploy token is saved as a Github repository secret.
  • Leiningen is configured to read the deploy token from the environment variable CLOJARS_DEPLOY_TOKEN.
  • The Github Actions Release workflow exposes the secret as this environment variable.


Copyright © Joel Kaasinen

Distributed under the Eclipse Public License, the same as Clojure.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close