mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
ci: fix YAML errors; move jobs to root in upstream-merge and replace save-if: ${{ always() }} with save-if: true for rust-cache
This commit is contained in:
@@ -104,7 +104,7 @@ jobs:
|
||||
with:
|
||||
workspaces: |
|
||||
codex-rs -> codex-rs/target
|
||||
save-if: ${{ always() }}
|
||||
save-if: true
|
||||
|
||||
- name: Configure Git author
|
||||
timeout-minutes: 5
|
||||
|
||||
@@ -30,30 +30,30 @@ env:
|
||||
UPSTREAM_BRANCH: ${{ inputs.upstream_branch || 'main' }}
|
||||
MERGE_BRANCH: upstream-merge
|
||||
|
||||
jobs:
|
||||
merge:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
jobs:
|
||||
merge:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
|
||||
steps:
|
||||
- name: Check out repository (full history)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
steps:
|
||||
- name: Check out repository (full history)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Rust toolchain (match repo)
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.89.0
|
||||
- name: Setup Rust toolchain (match repo)
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.89.0
|
||||
|
||||
- name: Cache Rust build (cargo + target)
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
# Our Rust workspace lives in codex-rs; cache its target dir
|
||||
workspaces: |
|
||||
codex-rs -> codex-rs/target
|
||||
save-if: ${{ always() }}
|
||||
- name: Cache Rust build (cargo + target)
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
# Our Rust workspace lives in codex-rs; cache its target dir
|
||||
workspaces: |
|
||||
codex-rs -> codex-rs/target
|
||||
save-if: true
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user