aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-01-18 01:41:18 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-01-18 01:41:18 -0500
commit20f7f706597c456004dde77dcc1c830d578d2a18 (patch)
tree1a644c08ca29937f2f34a2f8318363d3305b051c
parent3b6eab232562af33fe44db1ba4f17b151ddff0bc (diff)
downloadghasandbox-20f7f706597c456004dde77dcc1c830d578d2a18.tar.gz
OK
-rw-r--r--.github/actions/stasis_install/action.yml19
1 files changed, 8 insertions, 11 deletions
diff --git a/.github/actions/stasis_install/action.yml b/.github/actions/stasis_install/action.yml
index 27dd3cf..edd46b5 100644
--- a/.github/actions/stasis_install/action.yml
+++ b/.github/actions/stasis_install/action.yml
@@ -39,18 +39,15 @@ runs:
repository: 'spacetelescope/stasis'
path: ${{ github.workspace }}/stasis
- - if: ${{ runner.os == "Linux" }}
- name: Install STASIS dependencies
+ - name: Install STASIS dependencies
run: |
- sudo apt-get update
- sudo apt-get install -y ca-certificates cmake libcurl4-openssl-dev libxml2-dev rsync
- shell: bash
-
- - if: ${{ runner.os == "macOS" }}
- name: Install STASIS dependencies
- run: |
- brew update
- brew install curl cmake libxml2 rsync
+ if [[ "$RUNNER_OS" == "Linux" ]]; then
+ sudo apt-get update
+ sudo apt-get install -y ca-certificates cmake libcurl4-openssl-dev libxml2-dev rsync
+ elif [[ "$RUNNER_OS" == "macOS" ]]; then
+ brew update
+ brew install curl cmake libxml2 rsync
+ fi
shell: bash
- name: Install STASIS