Skip to content

Commit

Permalink
install necessary libs
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed Sep 23, 2024
1 parent f1b2bba commit d1ddee3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/actions/installations/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ runs:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y protobuf-compiler libprotobuf-dev
- name: Use Cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
key: "ubuntu-latest-cargo-${{ hashFiles('**/Cargo.lock') }}"
shared-key: "shared"
# - name: Use Cache
# uses: Swatinem/rust-cache@v2
# with:
# cache-on-failure: true
# key: "ubuntu-latest-cargo-${{ hashFiles('**/Cargo.lock') }}"
# shared-key: "shared"

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,10 @@ jobs:
tool-cache: false
large-packages: false

- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Install Libs
use: ./.github/actions/installations
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Link CC
run: |
sudo aptitude install libxdo-dev
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Cargo cache
uses: actions/cache@v4
Expand Down

0 comments on commit d1ddee3

Please sign in to comment.