aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-04-16 16:32:29 +0300
committerGitHub <noreply@github.com>2022-04-16 16:32:29 +0300
commit1b45935a413c8a102eb277b6f68fde1b52ed500a (patch)
tree18f4b440c0d1316b77bfe308a4606d017a813af4
parentUpdate main.yml (diff)
downloadlibredirect-1b45935a413c8a102eb277b6f68fde1b52ed500a.zip
Update main.yml
Diffstat (limited to '')
-rw-r--r--.github/workflows/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 876e752e..34cc9893 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,6 +13,11 @@ jobs:
- name: get repo content
uses: actions/checkout@v2
+ - name: setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.8' # install the python version needed
+
- name: install nmap
# You may pin to the exact commit or the version.
# uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619
@@ -20,15 +25,10 @@ jobs:
with:
tools: nmap
- - name: setup python
- uses: actions/setup-python@v2
- with:
- python-version: '3.8' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install requests bs4 colorama
-
- name: run script
run: python src/instances/get_instances.py