From 172ddd5b99e5ac30efc7d1431a9952b1b68b923e Mon Sep 17 00:00:00 2001 From: Calvin Prewitt Date: Tue, 14 May 2024 14:04:41 -0500 Subject: [PATCH 1/2] try installing libssl-dev before building artifact --- .github/workflows/publish-binaries.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 783a498..12e5ba0 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -48,6 +48,8 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }} + - run: sudo apt install libssl-dev -y + if: matrix.os == 'ubuntu-latest' - run: cargo build --release --target ${{ matrix.rust-target }} if: ${{ ! matrix.cross }} - run: cargo install cross @@ -87,6 +89,8 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }} + - run: sudo apt install libssl-dev -y + if: matrix.os == 'ubuntu-latest' - run: cargo build --release --target ${{ matrix.rust-target }} if: ${{ ! matrix.cross }} - run: cargo install cross From 035b953cbbfb3366dbd158860d50710d9a66b502 Mon Sep 17 00:00:00 2001 From: Calvin Prewitt Date: Tue, 14 May 2024 14:05:45 -0500 Subject: [PATCH 2/2] moved args --- .github/workflows/publish-binaries.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 12e5ba0..9b5a934 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }} - - run: sudo apt install libssl-dev -y + - run: sudo apt install -y libssl-dev if: matrix.os == 'ubuntu-latest' - run: cargo build --release --target ${{ matrix.rust-target }} if: ${{ ! matrix.cross }} @@ -89,7 +89,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }} - - run: sudo apt install libssl-dev -y + - run: sudo apt install -y libssl-dev if: matrix.os == 'ubuntu-latest' - run: cargo build --release --target ${{ matrix.rust-target }} if: ${{ ! matrix.cross }}