update changelog #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Version | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Clojure | |
uses: DeLaGuardo/setup-clojure@master | |
with: | |
cli: '1.12.0.1479' | |
- name: Cache All The Things | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.m2/repository | |
~/.gitlibs | |
~/.clojure | |
~/.cpcache | |
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }} | |
- name: Run All Tests and Release | |
run: clojure -T:build ci | |
- name: Deploy Release | |
run: clojure -T:build deploy :snapshot false | |
env: | |
CLOJARS_PASSWORD: ${{secrets.DEPLOY_TOKEN}} | |
CLOJARS_USERNAME: ${{secrets.DEPLOY_USERNAME}} |