Update main.yml
This commit is contained in:
parent
073fe72e79
commit
1b45935a41
|
@ -13,6 +13,11 @@ jobs:
|
||||||
- name: get repo content
|
- name: get repo content
|
||||||
uses: actions/checkout@v2
|
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
|
- name: install nmap
|
||||||
# You may pin to the exact commit or the version.
|
# You may pin to the exact commit or the version.
|
||||||
# uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619
|
# uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619
|
||||||
|
@ -20,15 +25,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tools: nmap
|
tools: nmap
|
||||||
|
|
||||||
- name: setup python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.8' # install the python version needed
|
|
||||||
- name: install python packages
|
- name: install python packages
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install requests bs4 colorama
|
pip install requests bs4 colorama
|
||||||
|
|
||||||
- name: run script
|
- name: run script
|
||||||
run: python src/instances/get_instances.py
|
run: python src/instances/get_instances.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue