Skip to content

Commit

Permalink
Merge pull request #334 from MJedr/fix-release
Browse files Browse the repository at this point in the history
fix action
  • Loading branch information
MJedr authored Aug 4, 2023
2 parents fbda236 + 39bc7a0 commit 2fc725a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2fc725a

Please sign in to comment.