-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 977 Bytes
/
pipself.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: issue
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
run: |
PYTHON_VERSION=3.8.0
RUNNER_TOOL_CACHE=/home/runner/actions-runner/_work/_temp
mkdir -p ${RUNNER_TOOL_CACHE}/Python/${PYTHON_VERSION}/x64
cp /Users/gowri/Downloads/Python-3.8.0.tar .
tar -xzf Python-${PYTHON_VERSION}.tar --directory ${RUNNER_TOOL_CACHE}/Python/${PYTHON_VERSION}/x64
touch ${RUNNER_TOOL_CACHE}/Python/${PYTHON_VERSION}/x64.complete
rm -f Python-${PYTHON_VERSION}.tar
- name: Cache pip packages
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
- name: Verify Python Installation
run: |
python3 --version