Skip to content

Commit 2821106

Browse files
authored
Merge pull request #142 from gisce/update_ci
update ci
2 parents 7dd7f91 + 85002a5 commit 2821106

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Set up Python 2.7
15-
uses: actions/setup-python@v2
16-
with:
17-
python-version: '2.7'
14+
- name: Install Python 2
15+
run: |
16+
sudo apt update
17+
sudo apt install python2 python-pip
18+
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
19+
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
20+
printf '1\n' | sudo update-alternatives --config python
21+
cd /usr/bin
22+
sudo ln -s /usr/bin/pip2 ./pip
1823
- name: Get tag
1924
id: tag
2025
uses: dawidd6/action-get-tag@v1

0 commit comments

Comments
 (0)