update esm imports

Signed-off-by: Meredith Lancaster <[email protected]>
This commit is contained in:
Meredith Lancaster
2026-02-05 11:09:06 -08:00
parent 75dea93e1d
commit 0345c893f4
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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'