Skip to content

Commit

Permalink
Merge pull request #135 from gisce/ci_fix_dimitri_py2
Browse files Browse the repository at this point in the history
fix setup python 2
  • Loading branch information
polsala authored Sep 1, 2023
2 parents c753a37 + 9a9dece commit 07a026d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python 2.7
uses: actions/setup-python@v2
with:
python-version: '2.7'
run: |
sudo apt update
sudo apt install python2 python-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
printf '1\n' | sudo update-alternatives --config python
cd /usr/bin
sudo ln -s /usr/bin/pip2 ./pip
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
Expand Down

0 comments on commit 07a026d

Please sign in to comment.