cargo update log
20 |
21 |
22 | ```log
23 | $cargo_update_log
24 | ```
25 |
26 |
27 |
28 |
29 | jobs:
30 | update:
31 | name: Update
32 | runs-on: ubuntu-latest
33 | steps:
34 | - uses: actions/checkout@v4
35 | - uses: dtolnay/rust-toolchain@nightly
36 |
37 | - name: cargo update
38 | # Remove first line that always just says "Updating crates.io index"
39 | run: cargo update --color never 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
40 |
41 | - name: craft commit message and PR body
42 | id: msg
43 | run: |
44 | export cargo_update_log="$(cat cargo_update.log)"
45 |
46 | echo "commit_message<