Add classpath scan predicates #52
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: Main | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Install Clojure Tools | |
uses: DeLaGuardo/setup-clojure@05cb4bfdf57855f122e75b71e45224775cdfc4a0 # 9.5 | |
with: | |
cli: 1.11.1.1182 | |
- name: Prepare Classpath | |
run: clojure -A:build:test -P | |
- name: Run Tests and Build Jar | |
run: clojure -T:build ci | |
- name: Deploy Jar | |
if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
run: clojure -T:build deploy | |
env: | |
CLOJARS_USERNAME: fbeyer | |
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_DEPLOY_TOKEN }} |