He-Pin commented on code in PR #1078:
URL: https://github.com/apache/incubator-pekko/pull/1078#discussion_r1469477194


##########
.github/workflows/nightly-builds.yml:
##########
@@ -181,19 +181,15 @@ jobs:
             "+~ ${{ matrix.scalaVersion }} publishLocal publishM2"
 
       - name: Install scala-cli
-        if: ${{ contains('11,17,21', matrix.javaVersion) }}
+        if: ${{ matrix.javaVersion == 11 }}
         run: |-
           curl -sS "https://virtuslab.github.io/scala-cli-packages/KEY.gpg"; | 
sudo gpg --dearmor  -o /etc/apt/trusted.gpg.d/scala-cli.gpg 2>/dev/null
           sudo curl -s --compressed -o 
/etc/apt/sources.list.d/scala_cli_packages.list 
"https://virtuslab.github.io/scala-cli-packages/debian/scala_cli_packages.list";
           sudo apt update
           sudo apt install scala-cli
 
       - name: Use Scala-CLI to verify jdk 9 classes
-        if: ${{ contains('11,17,21', matrix.javaVersion) }}
+        if: ${{ matrix.javaVersion == 11 }}
         run: |-
-          scala-cli --version
-          echo "Starting verification with Scala-CLI"
-          scala-cli stream/target/scala-cli/VerifyJDK9Classes.sc && echo 
"Verification successful" || (
-          echo "Error when VerifyJDK9Classes"
-          exit 1
-          )
+          chmod +x .github/workflows/verify-jdk9-classes.sh
+          .github/workflows/verify-jdk9-classes.sh

Review Comment:
   Let's keep it for now, otherwise I have to revaluation it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to