Skip to content

build: update version to match tag #9

build: update version to match tag

build: update version to match tag #9

Workflow file for this run

name: Deploy
on:
push:
tags:
- "v*"
workflow_run:
workflows: [Test]
types: [completed]
jobs:
deploy-clojars:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.1
with:
lein: 2.9.1
- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: cljdeps-${{ hashFiles('project.clj') }}
restore-keys: cljdeps-
- name: Deploy
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: lein deploy clojars