Skip to content

Commit

Permalink
improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PaleNeutron committed Apr 25, 2023
1 parent 7930b32 commit 07d2d12
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- uses: actions/cache@v3
with:
path: ${{ matrix.pippath }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-pip-${{ matrix.python-version }}
- name: Set up Homebrew
if: ${{ startsWith(matrix.os, 'macos') }}
Expand Down Expand Up @@ -100,14 +100,6 @@ jobs:
ln -s -f $(which python3) /usr/local/bin/python
ln -s -f $(which pip3) /usr/local/bin/pip
- name: upload logs
if: ${{ startsWith(matrix.os, 'windows') }}
uses: actions/upload-artifact@v3
with:
name: choco logs
path: C:\ProgramData\chocolatey\logs\chocolatey.log

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
Expand Down

0 comments on commit 07d2d12

Please sign in to comment.