File tree 2 files changed +5
-42
lines changed
2 files changed +5
-42
lines changed Original file line number Diff line number Diff line change @@ -11,43 +11,7 @@ permissions:
11
11
contents : read # This is required for actions/checkout
12
12
13
13
jobs :
14
- test-basic :
15
- runs-on : ubuntu-latest
16
- steps :
17
- - name : Checkout repository
18
- uses : actions/checkout@v3
19
-
20
- - name : Setup Node.js
21
- uses : actions/setup-node@v3
22
- with :
23
- node-version : ' 16'
24
-
25
- - name : Install dependencies
26
- run : npm ci
27
-
28
- - name : Test wrapper with basic attestation
29
- id : attestation
30
- uses : ./
31
- with :
32
- # Action to run
33
- action-ref : " actions/hello-world-javascript-action@main"
34
- input-who-to-greet : " World"
35
-
36
- # Witness configuration
37
- step : " hello-world"
38
- attestations : " command"
39
-
40
- - name : Check attestation file
41
- run : |
42
- if [[ -f "/tmp/hello-world-attestation.json" ]]; then
43
- echo "Attestation created successfully"
44
- jq . "/tmp/hello-world-attestation.json" | head -n 20
45
- else
46
- echo "Attestation file not found!"
47
- exit 1
48
- fi
49
14
50
- test-multi-attestors :
51
15
runs-on : ubuntu-latest
52
16
steps :
53
17
- name : Checkout repository
111
75
with :
112
76
# Action to run
113
77
action-ref : " actions/hello-world-javascript-action@main"
114
- input- who-to-greet : " Sigstore"
78
+ who-to-greet : " Sigstore"
115
79
116
80
# Witness configuration
117
81
step : test-sigstore
@@ -146,7 +110,6 @@ jobs:
146
110
name : sigstore-attestation
147
111
path : ./sigstore-attestation.json
148
112
149
- test-direct-command :
150
113
runs-on : ubuntu-latest
151
114
steps :
152
115
- name : Checkout repository
Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ inputs:
107
107
attestor-maven-pom-path :
108
108
description : " Path to Maven POM file"
109
109
required : false
110
-
111
- # Input Passing to Nested Actions
112
- ' * ' :
113
- description : " Any inputs that aren't defined above will be passed through to the nested action as-is"
110
+
111
+ who-to-greet :
112
+ description : " Who to greet"
114
113
required : false
114
+ default : " World"
115
115
116
116
outputs :
117
117
git_oid :
You can’t perform that action at this time.
0 commit comments