-
Notifications
You must be signed in to change notification settings - Fork 27
36 lines (33 loc) · 942 Bytes
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Check download via setup-clojure
on:
workflow_dispatch:
inputs:
os:
description: 'OS to check installation with'
required: true
default: 'ubuntu-latest'
version:
description: 'Version to check installation with'
required: true
default: 'latest'
jobs:
build:
runs-on: ${{ github.event.inputs.os }}
steps:
- name: Set Github identity
run: |
git config --global user.name clojure-build
git config --global user.email "[email protected]"
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
- name: Set up Clojure
uses: DeLaGuardo/[email protected]
with:
cli: ${{ github.event.inputs.version }}
- name: Check downloaded version
run: clojure --version
- name: Run CLI
run: clojure -M -e nil