Merge pull request #5379 from coreos/dependabot/cargo/cap-std-ext-4.0.6 #505
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically generate a vendor.tar.zstd on pushes to git main. | |
name: Auto-vendor artifact | |
permissions: | |
actions: read | |
on: | |
push: | |
branches: [main] | |
jobs: | |
vendor: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install vendor tool | |
run: cargo install --locked cargo-vendor-filterer | |
- name: Run | |
run: mkdir -p target && cargo vendor-filterer --format=tar.zstd --prefix=vendor/ target/vendor.tar.zst | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: vendor.tar.zst | |
path: target/vendor.tar.zst |