From 4b3ca37c59b24386f5a56fe3b49edbf5b74d5f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maja=20Jab=C5=82o=C5=84ska?= <mjablonska@e-science.pl>
Date: Wed, 31 Jan 2024 10:10:08 +0000
Subject: [PATCH] Remove unnecessary cache paths

---
 .gitlab-ci.yml | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f7c5bcd..2241d98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,8 @@
 image: clarinpl/python:3.8
 
-variables:
-  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
-
 cache:
   paths:
     - .tox
-    - .cache/pip
-    - venv/
-
 stages:
   - publish
 
@@ -22,14 +16,14 @@ before_script:
 
 pypi_publish:
   before_script:
-   - pip3 list
-   - pip3 install twine
+   - pip list
+   - pip install twine
   only:
    - main
   stage: publish
   script:
-    - python3 setup.py sdist bdist_wheel
-    - python3 -m twine upload
+    - python setup.py sdist bdist_wheel
+    - python -m twine upload
      --skip-existing
      --repository-url https://pypi.clarin-pl.eu/
      -u $PIPY_USER
-- 
GitLab