-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from MJedr/fix-release
fix action
- Loading branch information
Showing
1 changed file
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,18 +75,13 @@ jobs: | |
Release: | ||
if: ${{ github.event_name == 'push' }} | ||
needs: Test | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python 2.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 2.7 | ||
|
||
- name: Cache Python Dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
@@ -96,9 +91,9 @@ jobs: | |
|
||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel coveralls check-manifest | ||
pip install -e .[tests] | ||
pip2 install --user --upgrade pip | ||
pip2 --no-cache-dir install --user setuptools wheel coveralls check-manifest | ||
pip2 --no-cache-dir install --user -e .[tests] | ||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
|