cleanup action steps
This commit is contained in:
+5
-3
@@ -22,7 +22,8 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- run: 'node ${{github.action_path}}/dist/index.js --path ${{ inputs.path }}'
|
- name: Publish Action Package
|
||||||
|
run: 'node ${{github.action_path}}/dist/index.js --path ${{ inputs.path }}'
|
||||||
shell: bash
|
shell: bash
|
||||||
id: publish
|
id: publish
|
||||||
env:
|
env:
|
||||||
@@ -35,9 +36,10 @@ runs:
|
|||||||
echo "package manifest sha": ${{steps.publish.outputs.package-manifest-sha}}
|
echo "package manifest sha": ${{steps.publish.outputs.package-manifest-sha}}
|
||||||
echo "package url": ${{steps.publish.outputs.package-url}}
|
echo "package url": ${{steps.publish.outputs.package-url}}
|
||||||
echo "subject name": ${{github.repository}}_${{github.ref}}
|
echo "subject name": ${{github.repository}}_${{github.ref}}
|
||||||
- uses: github-early-access/generate-build-provenance@main
|
- name: Generate Provenance Attestation
|
||||||
|
uses: github-early-access/generate-build-provenance@main
|
||||||
id: build-provenance
|
id: build-provenance
|
||||||
with:
|
with:
|
||||||
subject-name: $${{github.repository}}_${{github.ref}}
|
subject-name: ${{github.repository}}_${{github.ref}}
|
||||||
subject-digest: ${{steps.publish.outputs.package-manifest-sha}}
|
subject-digest: ${{steps.publish.outputs.package-manifest-sha}}
|
||||||
push-to-registry: false
|
push-to-registry: false
|
||||||
|
|||||||
Reference in New Issue
Block a user