File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,19 @@ jobs:
4747 run : pip install c2pa-python
4848 continue-on-error : true # Continue even if c2pa-python install fails
4949
50- - name : Build package with maturin (development mode)
50+ - name : Create virtual environment
51+ run : |
52+ python -m venv .venv
53+ echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
54+ echo "$PWD/.venv/bin" >> $GITHUB_PATH
55+
56+ - name : Build and install package with maturin
5157 uses : PyO3/maturin-action@v1
5258 with :
5359 target : x86_64
5460 command : develop
5561 args : --release
5662 sccache : ' true'
57- python-version : ${{ matrix.python-version }}
58- working-directory : .
5963
6064 - name : Run tests
6165 run : python run_tests.py
6872 command : build
6973 args : --release
7074 sccache : ' true'
71- python-version : ${{ matrix.python-version }}
72- working-directory : .
7375
7476 - name : Upload wheels
7577 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments