File tree 1 file changed +20
-9
lines changed
1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,26 @@ jobs:
26
26
- name : Install dependencies
27
27
run : npm ci
28
28
29
- - name : Test with Sigstore and Archivista
30
- id : sigstore-attestation
29
+ - name : Test wrapper with time command
30
+ id : time-test
31
31
uses : ./
32
32
with :
33
33
action-ref : " actions/hello-world-javascript-action@main"
34
- who-to-greet : " Sigstore" # Required input passed correctly
35
- step : test-sigstore
36
- attestations : " environment github slsa"
37
- attestor-slsa-export : " true"
38
- enable-sigstore : " true"
39
- enable-archivista : " true"
40
- input-who-to-greet : " input-Sigstore" # Required input passed incorrectly
34
+ wrapper-command : " time -v"
35
+ input-who-to-greet : " Time"
36
+
37
+ - name : Check time output
38
+ run : |
39
+ if [ -f "${{ steps.time-test.outputs.wrapper-log }}" ]; then
40
+ echo "Time log file exists at ${{ steps.time-test.outputs.wrapper-log }}"
41
+ cat "${{ steps.time-test.outputs.wrapper-log }}"
42
+ else
43
+ echo "Time log file not found!"
44
+ exit 1
45
+ fi
46
+
47
+ - name : Upload time logs as artifact
48
+ uses : actions/upload-artifact@v4
49
+ with :
50
+ name : time-logs
51
+ path : ${{ steps.time-test.outputs.wrapper-log }}
You can’t perform that action at this time.
0 commit comments