clj-github-actions-example

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

Stars
6
Committers
1

clj-github-actions-example

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.

License

Copyright Joel Kaasinen

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

Badges
Extracted from project README
Clojars Project