File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 workflow_dispatch :
66
7- permissions : { }
7+ permissions :
8+ id-token : write
9+ contents : read
810
911# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
1012concurrency :
2931 - 17
3032 - 21
3133 steps :
34+ - name : Set start time
35+ run : echo "WORKFLOW_START_TIME=$(date +%s)" >> $GITHUB_ENV
3236 - name : Checkout sources
3337 uses : actions/checkout@v4
3438 with :
4650 pwd
4751 ls -lsa
4852 ./gradlew -Ptest.java.version=${{ matrix.java-version }} jvmTest --stacktrace
53+ - name : Upload metrics
54+ uses : ./.github/actions/workflow-metrics
4955 - name : Save Test Reports
5056 if : failure()
5157 uses : actions/upload-artifact@v4
6066 matrix :
6167 os : [ ubuntu-latest, macos-latest, windows-latest ]
6268 steps :
69+ - name : Set start time
70+ run : echo "WORKFLOW_START_TIME=$(date +%s)" >> $GITHUB_ENV
6371 - name : Checkout sources
6472 uses : actions/checkout@v4
6573 with :
99107 ./gradlew apiCheck
100108 ./gradlew test jvmTest
101109 ./gradlew testAllProtocols
110+ - name : Upload metrics
111+ uses : ./.github/actions/workflow-metrics
102112 - name : Save Test Reports
103113 if : failure()
104114 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments