-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoiding upload dev docs when doing releases #1972
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1972 +/- ##
==========================================
- Coverage 86.12% 85.78% -0.35%
==========================================
Files 44 44
Lines 7914 7914
==========================================
- Hits 6816 6789 -27
- Misses 1098 1125 +27 |
LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Approving this PR because germa89 said so 😬
Interesting. This shouldn't happen because whenever you do a release you should be on the |
You are right. I think I'm missing something... This log made me think it was something like that: https://github.com/pyansys/pymapdl/actions/runs/4610641223/jobs/8149372501#step:18:30341 Which has two PDFs:
I guess because there is two PDFs, the I have also seen something similar in: https://github.com/pyansys/pymapdl/actions/runs/4656136450/jobs/8239493442?pr=1978#step:18:30372 |
My guess is that this is related to caching issues @germa89 It looks like you are using previously cached directories from the main branch and that's why you are seeing PDFs build from 0.64.1 and 0.65.dev0 I would recommend to either clean the LaTeX build directory first or avoid caching this |
I did clean it in the past, and it worked. But what it is surprising is that the cache name depends on the I will clean it for now. Let's see how it goes. Thank you @RobPasMue for having a look! :) |
While doing v0.64.1 I realise that dev and release documentation are uploaded with the same artefact name, therefore, the artefact get merged and the
make pdf
generates 2 PDFs.