Skip to content

Commit

Permalink
parameterize os in check task
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Aug 14, 2023
1 parent 3b1ec67 commit b85c83a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Check get latest
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: ubuntu-latest
runs-on: ${{ github.event.inputs.os }}
steps:
- name: Set Github identity
run: |
Expand All @@ -22,7 +26,7 @@ jobs:
java-version: 8
distribution: 'temurin'
- name: Set up Clojure
uses: DeLaGuardo/setup-clojure@9.5
uses: DeLaGuardo/setup-clojure@latest
with:
cli: ${{ github.event.inputs.version }}
- name: Use clojure
Expand Down

0 comments on commit b85c83a

Please sign in to comment.