Skip to content

auto-create nb index #171

auto-create nb index

auto-create nb index #171

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Prepare java
uses: actions/setup-java@v2
with:
distribution: 'zulu' # https://github.com/actions/setup-java/blob/main/README.md#Supported-distributions
java-version: '14'
java-package: jdk # optional (jdk or jre) - defaults to jdk
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@3.5
with:
cli: 1.10.3.929 # Clojure CLI based on tools.deps
- name: clj-fmt
run: |
clojure -M:cljfmt
clojure -M:cljfmt
shell: bash
- name: test-clj
run: |
clojure -M:test
- name: Release
if: success()
# if: github.event_name == 'push'
env:
CLOJARS_USERNAME: ${{ secrets.ReleaseUsername }}
CLOJARS_PASSWORD: ${{ secrets.ReleasePassword }}
CODECOV_TOKEN: ${{ secrets.CodecovToken }}
run: |
git config --global user.email "ci@pinkgorilla.org"
git config --global user.name "CI/CD"
clojure -T:build jar
clojure -T:build deploy