Skip to content

Commit

Permalink
Merge pull request #78 from inspirehep/fix-workflow
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
MJedr authored Sep 13, 2023
2 parents 459a3be + adb94e5 commit 4eb7601
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,12 @@ jobs:
matrix:
python-version: [2.7.17]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade pip setuptools
pip install twine wheel coveralls
pip install -r requirements.txt
pip install -e .[${EXTRAS}]
pip2 install --user --upgrade pip setuptools
pip2 --no-cache-dir install --user setuptools wheel "urllib3==1.25.11"
pip2 --no-cache-dir install --user -r requirements.txt
pip2 --no-cache-dir install --user -e .[${EXTRAS}]
- name: Show python dependencies
run: |
Expand Down Expand Up @@ -117,17 +109,12 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 2.7.17

- name: Install python dependencies
run: |
pip install --upgrade pip setuptools
pip install twine wheel coveralls
pip install -r requirements.txt
pip install -e .[${EXTRAS}]
pip2 install --user --upgrade pip setuptools
pip2 --no-cache-dir install --user setuptools wheel "urllib3==1.25.11"
pip2 --no-cache-dir install --user -r requirements.txt
pip2 --no-cache-dir install --user -e .[${EXTRAS}]
- name: Show python dependencies
run: |
Expand Down

0 comments on commit 4eb7601

Please sign in to comment.