Update build.yml

This commit is contained in:
0xd4d 2020-12-05 04:51:59 +01:00
parent 0f066d9e4d
commit b7684f7688
1 changed files with 10 additions and 0 deletions

View File

@ -163,6 +163,16 @@ jobs:
shell: bash
run: bash build/ci-install-rust.sh
- name: Use repo source code
shell: bash
run: |
# Make sure crates.io isn't used
if [ "$OSTYPE" = "msys" ]; then
echo "paths = [\"$(pwd -W)/src/rust/iced-x86\"]" > "$HOME/.cargo/config.toml"
else
echo "paths = [\"$(pwd)/src/rust/iced-x86\"]" > "$HOME/.cargo/config.toml"
fi
# If the supported Python versions get updated (added/removed), do:
# - Update .github/workflows/build.yml (this file)
# - Search for eg. 3.9, 39 and 3\.9