diff options
| author | Eric Huss <eric@huss.org> | 2024-07-15 13:30:52 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2024-07-22 07:20:57 -0700 |
| commit | 5dfa062b87f3711c9d16912037ec39b6437fa91f (patch) | |
| tree | defa72e9b451514275d2bca4425f7afc3c584179 /.github | |
| parent | aee3dc4c6cc0e018b648a340fb98af10887ce4ba (diff) | |
| download | rust-5dfa062b87f3711c9d16912037ec39b6437fa91f.tar.gz rust-5dfa062b87f3711c9d16912037ec39b6437fa91f.zip | |
Move rustbook to its own workspace.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/dependencies.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 03584aed08d..b137497594f 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -64,11 +64,17 @@ jobs: - name: cargo update # Remove first line that always just says "Updating crates.io index" run: cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log + - name: cargo update rustbook + run: | + echo -e "\nrustbook dependencies:" >> cargo_update.log + cargo update --manifest-path src/tools/rustbook 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log - name: upload Cargo.lock artifact for use in PR uses: actions/upload-artifact@v4 with: name: Cargo-lock - path: Cargo.lock + path: | + Cargo.lock + src/tools/rustbook/Cargo.lock retention-days: 1 - name: upload cargo-update log artifact for use in PR uses: actions/upload-artifact@v4 @@ -113,7 +119,7 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com git switch --force-create cargo_update - git add ./Cargo.lock + git add ./Cargo.lock ./src/tools/rustbook/Cargo.lock git commit --no-verify --file=commit.txt - name: push |
