Skip to content

Commit 4878da1

Browse files
committed
Fix the path to the binary
1 parent bf39baa commit 4878da1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ inputs:
1818
runs:
1919
using: "composite"
2020
steps:
21-
- name: Checkout base repo
22-
uses: actions/checkout@v4
2321
- name: Set up the binary
2422
shell: bash
2523
run: |
2624
if [[ ${{ inputs.ghc }} =~ ^(9.6.6|9.8.2|9.10.1)$ ]]
2725
then
28-
wget -q https://github.com/Kleidukos/print-api/releases/download/v0.0.1.0/print-api-0.1.0.0-Linux-static-x86_64.tar.gz
26+
wget -q https://github.com/Kleidukos/print-api/releases/download/v${{ inputs.version }}/print-api-${{ inputs.version }}-Linux-static-x86_64.tar.gz
2927
tar -xzvf print-api-${{ inputs.version}}-Linux-static-x86_64.tar.gz
3028
chmod +x print-api
3129
cabal install -j ${{ inputs.package-name }}

0 commit comments

Comments
 (0)