set default for sha & ref
This commit is contained in:
+2
-2
@@ -120,8 +120,8 @@ async function main () {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
snapshot.addManifest(manifest)
|
snapshot.addManifest(manifest)
|
||||||
snapshot.sha = core.getInput('snapshot-sha', getShaFromContext())
|
snapshot.sha = core.getInput('snapshot-sha') && getShaFromContext()
|
||||||
snapshot.ref = core.getInput('snapshot-ref', github.context.ref)
|
snapshot.ref = core.getInput('snapshot-ref') && github.context.ref
|
||||||
|
|
||||||
submitSnapshot(snapshot)
|
submitSnapshot(snapshot)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user