From 13515c0c6d114a43de919a4f329638ee68b3116d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= Date: Sun, 21 Jul 2024 21:59:09 +0200 Subject: [PATCH] Specify the GHC version of the tool on the command-line --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b3e1f0a..e24aec2 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ runs: run: | if [[ ${{ inputs.ghc }} =~ ^(9.6.6|9.8.2|9.10.1)$ ]] then - wget -q https://github.com/Kleidukos/print-api/releases/download/v${{ inputs.version }}/print-api-${{ inputs.version }}-Linux-static-x86_64.tar.gz + wget -q https://github.com/Kleidukos/print-api/releases/download/v${{ inputs.version }}/print-api-${{ inputs.version }}-Linux-static-${{ inputs.ghc }}-x86_64.tar.gz tar -xzvf print-api-${{ inputs.version}}-Linux-static-x86_64.tar.gz chmod +x print-api ./print-api --package-name ${{ inputs.package-name }} > actual-interface.txt