Skip to content

Commit

Permalink
remove openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
m-yahya committed Oct 19, 2023
1 parent 2a25fb1 commit d93b475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [main]
branches: [ main ]

jobs:
build:
Expand Down Expand Up @@ -43,18 +43,6 @@ jobs:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

- name: Install OpenSSL (Ubuntu)
if: runner.os == 'Linux'
run: sudo apt-get install libssl-dev libssl1.1

- name: Install OpenSSL (Windows)
if: runner.os == 'Windows'
run: choco install openssl

- name: Install OpenSSL (macOS)
if: runner.os == 'macOS'
run: brew install openssl

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -63,13 +51,12 @@ jobs:
target: ${{ matrix.target }}
override: true

- name: Cross compile using cargo
- name: Check code using cargo
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.target }}
command: check

- name: Upload artifact
- name: Upload artifact (if check passed)
uses: actions/upload-artifact@v2
with:
name: gh-issue-creator-${{ matrix.target }}
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ edition = "2021"
dotenv = "0.15.0"
env_logger = "0.10.0"
log = "0.4.20"
openssl-sys = "0.9.93"
reqwest = { version = "0.11.22", features = ["json"] }
serde = { version = "1.0.189", features = ["derive"] }
serde_json = { version = "1.0.107", features = ["preserve_order"] }
Expand Down

0 comments on commit d93b475

Please sign in to comment.