From 5cc2dba609244102e9b0a6c89d8823982289aa33 Mon Sep 17 00:00:00 2001 From: danbugs Date: Wed, 21 Feb 2024 00:04:17 -0800 Subject: [PATCH] small ci change Signed-off-by: danbugs --- .github/workflows/ci-cd.yml | 5 +++++ backend/Cargo.toml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 6f6784f..448a5b4 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -88,6 +88,11 @@ jobs: - name: Install trunk run: cargo install trunk + # If Linux, install openssl + - if: matrix.os == 'ubuntu-latest' + name: Install openssl + run: sudo apt-get install openssl + - name: Cache Rust targets uses: actions/cache@v3 with: diff --git a/backend/Cargo.toml b/backend/Cargo.toml index f8d6d14..85cac8e 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -12,4 +12,6 @@ serde_json = "1" thiserror = "1" smithe_lib = { path = "../lib" } rocket-governor = "0.2.0-rc.1" + +[target.'cfg(target_os = "linux")'.dependencies] openssl = { version = "0.10", features = ["vendored"] } \ No newline at end of file