Skip to content

cargo vendor 🚚 on - upgrade to 0.21.1 Summary: NOTE: If your hg bisect brings you here & the error you are seeing looks like expected Result<&PyAny, PyErr>, found Result<Bound<'_, PyAny>, PyErr> then see these [migration notes](https://pyo3.rs/v0.21.0/migration.html#from-020-to-021) for the fix or click on fbcode/security/ace/pyo3/authz.rs or similar files from bellow to see what the fix is! In order to upgrade pyo3 to [0.21.1](https://github.com/PyO3/pyo3/releases/tag/v0.21.1), the foll... #98

cargo vendor 🚚 on - upgrade to 0.21.1 Summary: NOTE: If your hg bisect brings you here & the error you are seeing looks like expected Result<&PyAny, PyErr>, found Result<Bound<'_, PyAny>, PyErr> then see these [migration notes](https://pyo3.rs/v0.21.0/migration.html#from-020-to-021) for the fix or click on fbcode/security/ace/pyo3/authz.rs or similar files from bellow to see what the fix is! In order to upgrade pyo3 to [0.21.1](https://github.com/PyO3/pyo3/releases/tag/v0.21.1), the foll...

cargo vendor 🚚 on - upgrade to 0.21.1 Summary: NOTE: If your hg bisect brings you here & the error you are seeing looks like expected Result<&PyAny, PyErr>, found Result<Bound<'_, PyAny>, PyErr> then see these [migration notes](https://pyo3.rs/v0.21.0/migration.html#from-020-to-021) for the fix or click on fbcode/security/ace/pyo3/authz.rs or similar files from bellow to see what the fix is! In order to upgrade pyo3 to [0.21.1](https://github.com/PyO3/pyo3/releases/tag/v0.21.1), the foll... #98

Workflow file for this run

on:
push:
branches:
- main
name: cargo vendor and commit
run-name: cargo vendor 🚚 on - ${{ github.event.head_commit.message }}
jobs:
cargo_vendor:
runs-on: ubuntu-latest
steps:
- name: Delete release branch
uses: dawidd6/action-delete-branch@v3
with:
soft_fail: true # set to true so that if the branch doesn't exist action doesnt fail
branches: release
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- run: cargo vendor vendor_external
- name: Create .cargo dir
run: |
mkdir -p .cargo
- name: Create cargo config
shell: bash
run: |
cat << EOF > .cargo/config.toml
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor_external"
EOF
- name: commit to 'new' release branch
uses: EndBug/add-and-commit@v9.1.1
with:
new_branch: release
author_name: GitHub Action
author_email: action@github.com