diff --git a/.github/workflows/tembo_release.yml b/.github/workflows/tembo_release.yml index 84bce278e..4f8c3d1d5 100644 --- a/.github/workflows/tembo_release.yml +++ b/.github/workflows/tembo_release.yml @@ -41,15 +41,13 @@ jobs: working-directory: ./tembo-cli id: cargo_build run: | - if [[ ${{ matrix.os }} -eq "ubuntu-20.04" ]] - then + set -x + if [ ${{ matrix.os }} -eq "ubuntu-20.04" ]; then apt update -y - apt install pkg-config -y - elif [[ ${{ matrix.os }} -eq "macos-latest" ]] - then + apt install pkg-config libssl-dev -y + elif [ ${{ matrix.os }} -eq "macos-latest" ]; then brew install pkg-config fi - set -x rustup target add ${{ matrix.target }} cargo build --release --target=${{ matrix.target }} TEMBO_VERSION=$(target/${{ matrix.target }}/release/tembo --version)