Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down