Skip to content

Commit

Permalink
fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegalbraith committed Nov 2, 2024
1 parent 07cb828 commit bbf14b9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rust-build-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,19 @@ jobs:
steps:
- name: Get sources
uses: actions/checkout@v4
with:
submodules: recursive

- name: Rust job init
uses: ./.github/actions/init_rust_job
uses: ./upstream/.github/actions/init_rust_job
with:
platform: linux
cache-key: ${{ runner.os }}-${{ runner.arch }}-cargo-build-${{ matrix.package }}-${{ hashFiles('Cargo.lock') }}
restore-key: ${{ runner.os }}-${{ runner.arch }}-cargo-build

- name: Build assets
if: ${{ matrix.package != 'grafbase-gateway' }}
uses: ./.github/actions/cli_assets
uses: ./upstream/.github/actions/cli_assets

- name: Individual package build
shell: bash
Expand Down Expand Up @@ -83,17 +85,19 @@ jobs:
steps:
- name: Get sources
uses: actions/checkout@v4
with:
submodules: recursive

- name: Rust job init
uses: ./.github/actions/init_rust_job
uses: ./upstream/.github/actions/init_rust_job
with:
platform: linux
cache-key: ${{ runner.os }}-${{ runner.arch }}-cargo-build-${{ matrix.package }}-${{ hashFiles('Cargo.lock') }}
restore-key: ${{ runner.os }}-${{ runner.arch }}-cargo-build

- name: Build assets
if: ${{ matrix.package != 'grafbase-gateway' }}
uses: ./.github/actions/cli_assets
uses: ./upstream/.github/actions/cli_assets

- name: Individual package build
shell: bash
Expand Down

0 comments on commit bbf14b9

Please sign in to comment.