Update .gitea/workflows/action.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user