mirror of
https://github.com/actions/attest-build-provenance.git
synced 2026-07-31 04:33:43 +00:00
reference @actions/attest package (#10)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { generateProvenancePredicate } from '@actions/attest'
|
||||
import { buildSLSAProvenancePredicate } from '@actions/attest'
|
||||
import * as core from '@actions/core'
|
||||
|
||||
/**
|
||||
@@ -8,7 +8,7 @@ import * as core from '@actions/core'
|
||||
export async function run(): Promise<void> {
|
||||
try {
|
||||
// Calculate subject from inputs and generate provenance
|
||||
const predicate = generateProvenancePredicate(process.env)
|
||||
const predicate = buildSLSAProvenancePredicate(process.env)
|
||||
|
||||
core.setOutput('predicate', predicate.params)
|
||||
core.setOutput('predicate-type', predicate.type)
|
||||
|
||||
Reference in New Issue
Block a user