We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7dd7f91 + 85002a5 commit 2821106Copy full SHA for 2821106
.github/workflows/release.yml
@@ -11,10 +11,15 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v3
14
- - name: Set up Python 2.7
15
- uses: actions/setup-python@v2
16
- with:
17
- python-version: '2.7'
+ - name: Install Python 2
+ run: |
+ sudo apt update
+ 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
23
- name: Get tag
24
id: tag
25
uses: dawidd6/action-get-tag@v1
0 commit comments