File tree Expand file tree Collapse file tree
template/.gitea/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,15 +18,21 @@ jobs:
1818 with:
1919 python-version: '3.12'
2020
21+ - name: Checkout
22+ uses: actions/checkout@v4
23+
24+ - name: Create virtualenv
25+ run: |
26+ python -m virtualenv .venv
27+
2128 - name: Install tools
2229 run: |
30+ source .venv/bin/activate
2331 pip install copier PySide6 bec_lib
2432
25- - name: Checkout
26- uses: actions/checkout@v4
27-
2833 - name: Perform update
2934 run: |
35+ source .venv/bin/activate
3036 git config --global user.email "bec_ci_staging@psi.ch"
3137 git config --global user.name "BEC automated CI"
3238
3541 git checkout -b $branch
3642
3743 echo "Running copier update..."
38- copier update --trust --defaults --conflict inline 2>&1 | tee ../copier.log
39- output="$(cat ../copier.log)"
44+ copier update --trust --defaults --conflict inline 2>&1 | tee copier.log
45+ status=${PIPESTATUS[0]}
46+ output="$(cat copier.log)"
4047 echo $output
4148 msg="$(printf '%s\n' "$output" | head -n 1)"
4249
You can’t perform that action at this time.
0 commit comments