From 20f7f706597c456004dde77dcc1c830d578d2a18 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 18 Jan 2025 01:41:18 -0500 Subject: OK --- .github/actions/stasis_install/action.yml | 19 ++++++++----------- 1 file 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 -- cgit