Attempt to fix Python interpreter

Fix _addons/ URL prefix not being removed on Windows systems
https://github.com/ankitects/anki/pull 679
This commit is contained in:
evandrocoan 2020-07-06 20:05:31 -03:00
parent 121725390d
commit b44c971d2c

View file

@ -181,7 +181,7 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-17- key: ${{ runner.os }}-pyenv-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-18-
# # Disable it in attempt to reduce the overall cache size (https://github.com/ankitects/anki/pull/528) # # Disable it in attempt to reduce the overall cache size (https://github.com/ankitects/anki/pull/528)
# - name: Cache pip wheels # - name: Cache pip wheels
@ -189,42 +189,42 @@ jobs:
# uses: actions/cache@v1 # uses: actions/cache@v1
# with: # with:
# path: ${{ matrix.PIP_WHEELS_DIR }} # path: ${{ matrix.PIP_WHEELS_DIR }}
# key: ${{ runner.os }}-pip-wheels-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/setup.py') }}-16- # key: ${{ runner.os }}-pip-wheels-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/setup.py') }}-18-
- name: Cache cargo index - name: Cache cargo index
if: matrix.python == '3.7' if: matrix.python == '3.7'
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ matrix.CARGO_INDEX_DIR }} path: ${{ matrix.CARGO_INDEX_DIR }}
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-16- key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-18-
- name: Cache cargo registry - name: Cache cargo registry
if: matrix.python == '3.7' if: matrix.python == '3.7'
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ matrix.CARGO_REGISTRY_DIR }} path: ${{ matrix.CARGO_REGISTRY_DIR }}
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-16- key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-18-
- name: Cache cargo target - name: Cache cargo target
if: matrix.python == '3.7' if: matrix.python == '3.7'
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ github.workspace }}${{ matrix.SEP }}target path: ${{ github.workspace }}${{ matrix.SEP }}target
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-16- key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-18-
- name: Cache cargo rslib - name: Cache cargo rslib
if: matrix.python == '3.7' if: matrix.python == '3.7'
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ github.workspace }}${{ matrix.SEP }}rslib${{ matrix.SEP }}target path: ${{ github.workspace }}${{ matrix.SEP }}rslib${{ matrix.SEP }}target
key: ${{ runner.os }}-cargo-rslib-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-16- key: ${{ runner.os }}-cargo-rslib-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-18-
- name: Cache cargo rspy - name: Cache cargo rspy
if: matrix.python == '3.7' if: matrix.python == '3.7'
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ github.workspace }}${{ matrix.SEP }}rspy${{ matrix.SEP }}target path: ${{ github.workspace }}${{ matrix.SEP }}rspy${{ matrix.SEP }}target
key: ${{ runner.os }}-cargo-rspy-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-16- key: ${{ runner.os }}-cargo-rspy-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/Cargo.toml') }}-${{ matrix.BUILD_TYPE }}-18-
- name: Set up curl pyaudio, rsync - name: Set up curl pyaudio, rsync
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'