Skip to content

Release

Release #14

Workflow file for this run

name: Release
on:
release:
types:
- published # reacts to releases and prereleases, but not their drafts
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Setup Java 8"
uses: actions/[email protected]
with:
distribution: zulu
java-version: 8 # build releases with java 8 for maximum compatibility
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
lein: 2.9.4
- name: Run tests
run: lein do clean, all test, all check
- name: Build jar
run: lein jar
- name: Deploy to Clojars
run: lein deploy
env:
CLOJARS_USER: metosinci
CLOJARS_DEPLOY_TOKEN: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}"