From b85c83aaca896fc2236fdaf90bff3b8fe2f322ae Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Mon, 14 Aug 2023 00:44:43 -0500 Subject: [PATCH] parameterize os in check task --- .github/workflows/check.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c02cc34..e07c661 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,8 +1,12 @@ -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 @@ -10,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ github.event.inputs.os }} steps: - name: Set Github identity run: | @@ -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