Skip to content

Commit 4197e25

Browse files
authored
attest-build-provenance.yml
1 parent d424987 commit 4197e25

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/attest-build-provenance.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,29 @@ permissions:
1111
id-token: write
1212

1313
env:
14-
OUT_DIR: 'dist'
14+
OUT_DIR: '/publish'
1515

1616
jobs:
1717
build:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/[email protected]
21+
uses: actions/checkout@v4
22+
2223
- name: Artifact Clean .make*
2324
uses: zhuxb711/[email protected]
2425
with:
2526
token: '${{ github.token }}'
2627
limit: "512MB"
27-
artifactPaths: "/home/runner/work/Typescript-ASP.NET--EmployeeManagementSystem/Typescript-ASP.NET--EmployeeManagementSystem/dist/Employee_Management_System"
28+
artifactPaths: '${{ env.OUT_DIR }}/my-app'
2829

2930
- name: Artifact, Checkout
30-
uses: ouzi-dev/[email protected]
31+
uses: actions/download-artifact@v4
3132
with:
32-
target: '${{ github.workspace }}/${{ env.OUT_DIR }}/Employee_Management_System'
33-
- name: Attest
34-
uses: actions/[email protected]
33+
name: "Employee_Management_System"
34+
35+
- name: Attest Build Provenance
36+
uses: actions/attest-build-provenance@v1
3537
with:
36-
subject-path: '${{ github.workspace }}/${{ env.OUT_DIR }}/Employee_Management_System'
38+
subject-path: '${{ env.OUT_DIR }}/my-app'
39+
name: "Employee_Management_System"

0 commit comments

Comments
 (0)