Skip to content
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

build issue in nightly-builds.yml #1329

Merged
merged 2 commits into from
May 17, 2024
Merged

build issue in nightly-builds.yml #1329

merged 2 commits into from
May 17, 2024

Conversation

pjfanning
Copy link
Contributor

@pjfanning pjfanning commented May 17, 2024

relates to #1324

See failures in JDK11 builds in https://github.com/apache/pekko/actions/runs/9104380012/job/25028122890

The affected sbt calls only happen when Java version is 11 due to conditions in the workflow yml.

@@ -178,8 +178,8 @@ jobs:
sudo apt-get install graphviz
# genjavadoc does not support Scala 3.x
sbt \
-Dpekko.genjavadoc.enabled=${{ matrix.scalaVersion != '3.3' }} \
"+~ ${{ matrix.scalaVersion }} doc"
-Dpekko.genjavadoc.enabled=${{ matrix.scalaVersion.startsWith("3") }} \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1324 changed the matrix scalaVersions to be of the form 3.3.x. I think it is safer not to rely exact matches here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@He-Pin He-Pin merged commit c84f1b2 into main May 17, 2024
18 checks passed
@He-Pin He-Pin deleted the pjfanning-patch-1 branch May 17, 2024 04:35
@He-Pin
Copy link
Member

He-Pin commented May 17, 2024

The workflow is not valid. .github/workflows/nightly-builds.yml (Line: 177, Col: 14): Unexpected symbol: '('. Located at position 31 within expression: matrix.scalaVersion.startsWith("3") --

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants