Skip to content

Commit

Permalink
Specify the GHC version of the tool on the command-line
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Jul 21, 2024
1 parent 8eb4b67 commit 13515c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13515c0

Please sign in to comment.