From 073fe72e79ce5a1ae13a3762328f7675e1504eef Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sat, 16 Apr 2022 16:19:25 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d7d62a..876e752 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,16 +13,6 @@ 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 python packages - run: | - python -m pip install --upgrade pip - pip install requests bs4 colorama - - name: install nmap # You may pin to the exact commit or the version. # uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619 @@ -30,6 +20,15 @@ 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