update esm imports
Signed-off-by: Meredith Lancaster <[email protected]>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import {
|
|||||||
createStorageRecord
|
createStorageRecord
|
||||||
} from '@actions/attest'
|
} from '@actions/attest'
|
||||||
import { attachArtifactToImage, getRegistryCredentials } from '@sigstore/oci'
|
import { attachArtifactToImage, getRegistryCredentials } from '@sigstore/oci'
|
||||||
import { formatSubjectDigest } from './subject'
|
import { formatSubjectDigest } from './subject.js'
|
||||||
import * as core from '@actions/core'
|
import * as core from '@actions/core'
|
||||||
import * as github from '@actions/github'
|
import * as github from '@actions/github'
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
* The entrypoint for the action.
|
* The entrypoint for the action.
|
||||||
*/
|
*/
|
||||||
import * as core from '@actions/core'
|
import * as core from '@actions/core'
|
||||||
import { run, RunInputs } from './main'
|
import { run, RunInputs } from './main.js'
|
||||||
|
|
||||||
const inputs: RunInputs = {
|
const inputs: RunInputs = {
|
||||||
subjectPath: core.getInput('subject-path'),
|
subjectPath: core.getInput('subject-path'),
|
||||||
|
|||||||
+5
-5
@@ -3,15 +3,15 @@ import * as github from '@actions/github'
|
|||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import os from 'os'
|
import os from 'os'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { AttestResult, SigstoreInstance, createAttestation } from './attest'
|
import { AttestResult, SigstoreInstance, createAttestation } from './attest.js'
|
||||||
import { SEARCH_PUBLIC_GOOD_URL } from './endpoints'
|
import { SEARCH_PUBLIC_GOOD_URL } from './endpoints.js'
|
||||||
import { PredicateInputs, predicateFromInputs } from './predicate'
|
import { PredicateInputs, predicateFromInputs } from './predicate.js'
|
||||||
import * as style from './style'
|
import * as style from './style.js'
|
||||||
import {
|
import {
|
||||||
SubjectInputs,
|
SubjectInputs,
|
||||||
formatSubjectDigest,
|
formatSubjectDigest,
|
||||||
subjectFromInputs
|
subjectFromInputs
|
||||||
} from './subject'
|
} from './subject.js'
|
||||||
|
|
||||||
import type { Subject } from '@actions/attest'
|
import type { Subject } from '@actions/attest'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user