diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 27ec0d4e..35cf7e03 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -27,22 +27,24 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - + - name: Cache pip uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} - - - name: Set Up Python Environment + + - name: Set Up Python uses: actions/setup-python@v4 with: python-version: '3.12' + + - name: Set Up Python Environment run: | python3 -m venv venv # Create a virtual environment source venv/bin/activate pip install twine build - + - name: Build the package run: | source venv/bin/activate