We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba29f82 + f8d3a8a commit 7a59513Copy full SHA for 7a59513
src/snapshot.ts
@@ -186,6 +186,16 @@ export async function submitSnapshot(
186
...snapshot
187
}
188
)
189
+ const result = response.data.result
190
+ if (result === 'SUCCESS' || result === 'ACCEPTED') {
191
+ core.notice(
192
+ `Snapshot successfully created at ${response.data.created_at.toString()}`
193
+ )
194
+ } else {
195
+ core.error(
196
+ `Snapshot creation failed with result: "${result}: ${response.data.message}"`
197
198
+ }
199
core.notice(
200
`Snapshot successfully created at ${response.data.created_at.toString()}`
201
0 commit comments