release: 1.12.4.0 #19
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: Clojure Umbrella | |
on: | |
push: | |
branches: [ "master", "devel" ] | |
pull_request: | |
branches: [ "master", "devel" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
################################### | |
# Clojure Tests | |
################################### | |
- name: Install Commons | |
run: | | |
cd core | |
lein install | |
- name: Run tests | |
run: lein sub do test | |
################################### | |
# Generate release | |
################################### | |
- name: Deploy to Clojars | |
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/devel' | |
run: lein sub deploy | |
env: | |
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | |
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} |