diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df643e8b..e9d0c475 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,15 +14,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Install Python - run: apt-get update && apt-get install -y python3-dev python3-venv + run: sudo apt-get update && sudo apt-get install -y python3.10-dev python3.10-venv - name: Install Poetry run: | - apt-get update - apt-get install -y python3.10-dev python3.10-venv - mkdir -p /usr/local/poetry - python3.10 -m venv /usr/local/poetry - /usr/local/poetry/bin/pip install poetry==1.6 - ln -s /usr/local/poetry/bin/poetry /bin/poetry + sudo mkdir -p /usr/local/poetry + sudo python3.10 -m venv /usr/local/poetry + sudo /usr/local/poetry/bin/pip install poetry==1.6 + sudo ln -s /usr/local/poetry/bin/poetry /bin/poetry export PATH=/bin:$PATH - name: Install Package run: poetry install