Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7463116c95 | |||
| fbc693c3a8 |
+1
-1
@@ -2,7 +2,7 @@
|
||||
# It is needed to track the repo template version, and editing may break things.
|
||||
# This file will be overwritten by copier on template updates.
|
||||
|
||||
_commit: v1.3.1
|
||||
_commit: v1.4.0
|
||||
_src_path: https://github.com/bec-project/plugin_copier_template.git
|
||||
make_commit: true
|
||||
project_name: bec_testing_plugin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Create template upgrade PR for {{ project_name }}
|
||||
name: Create template upgrade PR for bec_testing_plugin
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -16,23 +16,19 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Create virtualenv
|
||||
run: |
|
||||
python -m virtualenv .venv
|
||||
python -m virtualenv .venv
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
echo $(which python)
|
||||
echo $(python -m pip list)
|
||||
python -m pip install copier PySide6 bec_lib
|
||||
echo $(which copier)
|
||||
python -c "import bec_lib; print(bec_lib.__file__)"
|
||||
pip install copier PySide6 bec_lib
|
||||
|
||||
- name: Perform update
|
||||
run: |
|
||||
@@ -45,7 +41,7 @@ jobs:
|
||||
git checkout -b $branch
|
||||
|
||||
echo "Running copier update..."
|
||||
python -m copier update --trust --defaults --conflict inline 2>&1 | tee copier.log
|
||||
copier update --trust --defaults --conflict inline 2>&1 | tee copier.log
|
||||
status=${PIPESTATUS[0]}
|
||||
output="$(cat copier.log)"
|
||||
echo $output
|
||||
|
||||
Reference in New Issue
Block a user