mirror of
https://github.com/actions/toolkit.git
synced 2026-08-20 00:00:14 +02:00
Update packages/attest/README.md
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Copilot
parent
10d3b034e0
commit
7847d31696
@@ -190,10 +190,14 @@ async function run() {
|
|||||||
const ghToken = core.getInput('gh-token');
|
const ghToken = core.getInput('gh-token');
|
||||||
|
|
||||||
const record = await createStorageRecord({
|
const record = await createStorageRecord({
|
||||||
name: 'my-artifact-name',
|
artifactOptions: {
|
||||||
digest: { 'sha256': '36ab4667...'},
|
name: 'my-artifact-name',
|
||||||
version: "v1.0.0",
|
digest: { 'sha256': '36ab4667...'},
|
||||||
registry_url: "https://my-fave-pkg-registry.com",
|
version: "v1.0.0"
|
||||||
|
},
|
||||||
|
packageRegistryOptions: {
|
||||||
|
registryUrl: "https://my-fave-pkg-registry.com"
|
||||||
|
},
|
||||||
token: ghToken
|
token: ghToken
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user