cleanup action steps

This commit is contained in:
David Daly
2024-02-02 12:58:40 -05:00
committed by Edwin Sirko
parent 5e2391735e
commit 002cf60682
+5 -3
View File
@@ -22,7 +22,8 @@ outputs:
runs:
using: 'composite'
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
id: publish
env:
@@ -35,9 +36,10 @@ runs:
echo "package manifest sha": ${{steps.publish.outputs.package-manifest-sha}}
echo "package url": ${{steps.publish.outputs.package-url}}
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
with:
subject-name: $${{github.repository}}_${{github.ref}}
subject-name: ${{github.repository}}_${{github.ref}}
subject-digest: ${{steps.publish.outputs.package-manifest-sha}}
push-to-registry: false