From 2e63491f72d65c3200b1e4833e9fbc3d0ace6730 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Fri, 1 Jul 2022 13:03:12 +0200 Subject: [PATCH] steps --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72683d4..1e58ff3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,6 +63,32 @@ jobs: # name: Docs # run: cd docs && make html + steps: + - uses: actions/checkout@v3 + + - name: Setup Python environment + uses: ./.github/actions/setup-venv + with: + python-version: ${{ matrix.python }} + cache-prefix: ${{ env.CACHE_PREFIX }} + + - name: ${{ matrix.task.name }} + run: | + . .venv/bin/activate + ${{ matrix.task.run }} + + - name: Upload package distribution files + if: matrix.task.name == 'Build' + uses: actions/upload-artifact@v3 + with: + name: package + path: dist + + - name: Clean up + if: always() + run: | + . .venv/bin/activate + pip uninstall -y vk-url-scraper # checks: # name: Lint # runs-on: ubuntu-latest