mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Prevent execution of spurious clean-up step, which then crashes.
The clean-up step for setting up Python and pip assumes that you do at least something with those programs -- and so that cache folders have been made, that need to be cleaned up. If nothing happens, the clean-up step then crashes on the non-existant cache folder.
This commit is contained in:
parent
0eb11031f9
commit
04016373ae
2 changed files with 2 additions and 0 deletions
1
.github/workflows/printer-linter-format.yml
vendored
1
.github/workflows/printer-linter-format.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python and pip
|
||||
if: env.GIT_DIFF && !env.MATCHED_FILES # If nothing happens with python and/or pip after, the clean-up crashes.
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.11.x
|
||||
|
|
|
@ -17,6 +17,7 @@ jobs:
|
|||
fetch-depth: 2
|
||||
|
||||
- name: Setup Python and pip
|
||||
if: env.GIT_DIFF && !env.MATCHED_FILES # If nothing happens with python and/or pip after, the clean-up crashes.
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.11.x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue