From da0cccfed26d41161dbcfaf3ef34a93befd13e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Fid=C3=A9lis=20Vieira=20Bitencourt?= Date: Fri, 20 Jun 2025 15:44:10 -0300 Subject: [PATCH] feat: install cli using bash script instead of deb package --- action.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/action.yml b/action.yml index b52014c..597a73b 100644 --- a/action.yml +++ b/action.yml @@ -28,31 +28,13 @@ inputs: runs: using: "composite" - steps: - - name: Download STK CLI - shell: bash - run: | - curl \ - --fail \ - --http2-prior-knowledge \ - --location \ - --output /tmp/stk.deb \ - --silent \ - --show-error \ - --tlsv1.3 \ - https://stk.stackspot.com/installer/linux/stk.deb - + steps: - name: Install STK CLI shell: bash run: | - sudo dpkg --install /tmp/stk.deb || echo "Installation failed with exit code: $?" + (curl -fsSL https://stk.stackspot.com/install.sh | bash) || echo "Installation failed with exit code: $?" export PATH=$PATH:$HOME/.stk/bin - - name: Verify if cli was installed - shell: bash - run: | - dpkg -l | grep stk - - name: Show STK CLI version shell: bash run: $HOME/.stk/bin/stk --version