0.10.7 #22
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 | |
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/setup-java@v3.12.0 | |
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 releases | |
env: | |
CLOJARS_USER: metosinci | |
CLOJARS_DEPLOY_TOKEN: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}" |