File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,20 @@ jobs:
1414 # Need this to get version number from last tag
1515 fetch-depth : 0
1616
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v5
19+
1720 - name : Regenerate example
1821 run : |
19- pipx run copier copy --data-file example-answers.yml --vcs-ref=HEAD . example
22+ uvx copier copy --data-file example-answers.yml --vcs-ref=HEAD . example
2023
2124 - name : Rewrite copier answers
2225 run : |
2326 sed -i 's|_src_path: .|_src_path: https://github.com/DiamondLightSource/python-copier-template.git|' example/.copier-answers.yml
2427
28+ - name : Update the lockfile
29+ run : uv sync
30+
2531 - name : Publish example
2632 # We pin to the SHA, not the tag, for security reasons.
2733 # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
3036 deploy_key : ${{ secrets.EXAMPLE_DEPLOY_KEY }}
3137 publish_dir : example
3238 external_repository : DiamondLightSource/python-copier-template-example
33- publish_branch : main
39+ publish_branch : example-test
3440 enable_jekyll : true # don't put a .nojekyll
3541 exclude_assets : ' ' # default would exclude .github
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - example-test
78 tags :
89 - ' *'
910 pull_request :
You can’t perform that action at this time.
0 commit comments