mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 16:28:14 +00:00
Move to pip API.
This commit is contained in:
parent
e5459a5112
commit
40e4e428af
1 changed files with 8 additions and 11 deletions
19
.github/workflows/build_and_publish.yml
vendored
19
.github/workflows/build_and_publish.yml
vendored
|
|
@ -29,18 +29,16 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- uses: actions/cache@v1
|
||||
if: startsWith(runner.os, 'Linux')
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
- name: Get pip cache dir
|
||||
id: pip-cache
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
echo "::set-output name=dir::$(pip cache dir)"
|
||||
|
||||
- uses: actions/cache@v1
|
||||
if: startsWith(runner.os, 'macOS')
|
||||
- name: Pip cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/Library/Caches/pip
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
|
|
@ -57,7 +55,6 @@ jobs:
|
|||
brew install autoconf automake libtool pkg-config
|
||||
- name: Installing package dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
pip install wheel twine setuptools codecov
|
||||
pip install -r requirements.txt
|
||||
python setup.py bdist_wheel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue