File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7373 github-token : ${{ secrets.GITHUB_TOKEN }}
7474 components : ${{ matrix.components }}
7575 gds-token : ${{ matrix.set-gds-token && secrets.GDS_TOKEN || '' }}
76+ # Skip in PR builds that require a GDS token (secrets are not available in PR runs)
77+ if : github.event_name != 'pull_request' || !matrix.set-gds-token
7678 - name : Check environment
7779 run : |
7880 echo "GRAALVM_HOME: $GRAALVM_HOME"
@@ -85,13 +87,14 @@ jobs:
8587 java --version
8688 java --version | grep "GraalVM" || exit 34
8789 native-image --version
88- if : runner.os != 'Windows'
90+ if : runner.os != 'Windows' && (github.event_name != 'pull_request' || !matrix.set-gds-token)
8991 - name : Check Windows environment
9092 run : |
9193 echo "GRAALVM_HOME: $env:GRAALVM_HOME"
9294 echo "JAVA_HOME: $env:JAVA_HOME"
9395 java --version
9496 native-image --version
97+ if : runner.os == 'Windows'
9598 test-ce : # make sure the action works on a clean machine without building
9699 needs : test
97100 name : CE ${{ matrix.version }} + JDK${{ matrix.java-version }} on ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments