Skip to content

Commit

Permalink
ci(github): check whether curl installed
Browse files Browse the repository at this point in the history
  • Loading branch information
shiqimei committed Jun 14, 2023
1 parent 13e2efb commit 9e6a159
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cmake-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
~/.ninja
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Check and Install curl
run: |
if ! command -v curl &> /dev/null
then
sudo apt-get update && sudo apt-get install -y curl
fi
- name: Setup Rust
run: |
if ! command -v rustup &> /dev/null
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/cmake-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
~/.ninja
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Check and Install curl
run: |
if ! command -v curl &> /dev/null
then
sudo apt-get update && sudo apt-get install -y curl
fi
- name: Setup Rust
run: |
if ! command -v rustup &> /dev/null
Expand Down

0 comments on commit 9e6a159

Please sign in to comment.