Skip to content

Merge pull request #57 from vincentjames501/multi-value-http-headers #18

Merge pull request #57 from vincentjames501/multi-value-http-headers

Merge pull request #57 from vincentjames501/multi-value-http-headers #18

name: Clojure CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
distribution: [ 'zulu' ]
java: [ '11', '17' ]
name: Java ${{ matrix.Java }} (${{ matrix.distribution }})
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
lein: 2.9.10
- name: Test with lein
run: lein test
publish:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish
env:
CLOJARS_USER: ${{ secrets.CLOJARS_USER }}
CLOJARS_PASS: ${{ secrets.CLOJARS_PASS }}
run: lein deploy clojars