Skip to content

Merge pull request #26 from escherize/update-changelog #70

Merge pull request #26 from escherize/update-changelog

Merge pull request #26 from escherize/update-changelog #70

Workflow file for this run

name: Clojure CI
on:
push:
branches:
- master
tags:
- '*'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Prepare java
uses: actions/[email protected]
with:
java-version: '21'
distribution: 'temurin'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: latest
bb: latest
- name: Run tests
run: bb tests
- name: Build jar
run: bb uber
- name: Deploy to clojars
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: bb deploy