mirror of
https://github.com/tauri-apps/cef-rs.git
synced 2026-01-31 00:55:21 +01:00
fix: tweak CI workflow for more consistent output
This commit is contained in:
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
@@ -23,6 +23,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
${{ matrix.os == 'ubuntu-latest'
|
||||
&& 'sudo apt-get update -q; sudo apt-get install -yq libglib2.0-dev'
|
||||
|| 'echo "No additional dependencies."'
|
||||
}}
|
||||
|
||||
- name: Check fmt
|
||||
run: cargo fmt --check
|
||||
|
||||
@@ -56,12 +63,6 @@ jobs:
|
||||
|| ''
|
||||
}}GITHUB_ENV"
|
||||
|
||||
- name: Install Dependencies
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -yq libglib2.0-dev
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user