Merge pull request #26 from escherize/update-changelog #70
This file contains hidden or 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 CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - '*' | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Prepare java | |
| uses: actions/[email protected] | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Install clojure tools | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| cli: latest | |
| bb: latest | |
| - name: Run tests | |
| run: bb tests | |
| - name: Build jar | |
| run: bb uber | |
| - name: Deploy to clojars | |
| env: | |
| CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | |
| CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} | |
| run: bb deploy |