-
Notifications
You must be signed in to change notification settings - Fork 193
chore: optimized matrix ci #1355
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
Conversation
c782a36 to
2d2fe79
Compare
Roiocam
commented
Jun 4, 2024
@pjfanning Could I inquire about a few queries I have regarding this PR?
- what's the difference between
.../pekko/1.1.0-M1/docsand.../pekko/1.1/docs?? - could we replace them with branch names, like
mainand1.0.x?
pekko/.github/workflows/publish-1.1-docs.yml
Lines 64 to 74 in 6721173
pjfanning
commented
Jun 4, 2024
@pjfanning Could I inquire about a few queries I have regarding this PR?
- what's the difference between
.../pekko/1.1.0-M1/docsand.../pekko/1.1/docs??- could we replace them with branch names, like
mainand1.0.x?pekko/.github/workflows/publish-1.1-docs.yml
Lines 64 to 74 in 6721173
mkdir -p target/nightly-docs/docs/pekko/1.1.0-M1/mkdir -p target/nightly-docs/docs/pekko/1.1/cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1.0-M1/docscp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1/docsrm -r docs/target/paradox/site/main/cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1.0-M1/apicp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1/apirm -r target/scala-2.13/unidoccp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1.0-M1/japicp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1/japirm -r target/javaunidoc
We have 10+ git repos running jobs like this and redirect rules set up in apache/pekko-site based on this path format. I would prefer not to have to change everything.
We publish with the full version (1.1.0-M1) and the minor version (1.1).
Have a look at full version docs:
- https://pekko.apache.org/docs/pekko/1.1.0-M1/
- https://pekko.apache.org/docs/pekko/1.0.3-M1/
- https://pekko.apache.org/docs/pekko/1.0.2/
- https://pekko.apache.org/docs/pekko/1.0.1/
- https://pekko.apache.org/docs/pekko/1.0.0/
Minor version:
The minor version docs give you the latest for each release line. But with full version, you can get docs for a specific release.
Uh oh!
There was an error while loading. Please reload this page.
Motivation
#1354
Verification
Looks like it works!
the main branch's latest commit id: 92b38e7
main branch ci
截屏2024年06月04日 18 20 20
1.0.x branch's latest commit id: 4f77c81
1.0.x branch ci
截屏2024年06月04日 18 20 08