Skip to content

Commit

Permalink
attest-build-provenance.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack4DEV authored Jul 14, 2024
1 parent d424987 commit 4197e25
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/attest-build-provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,29 @@ permissions:
id-token: write

env:
OUT_DIR: 'dist'
OUT_DIR: '/publish'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
uses: actions/checkout@v4

- name: Artifact Clean .make*
uses: zhuxb711/[email protected]
with:
token: '${{ github.token }}'
limit: "512MB"
artifactPaths: "/home/runner/work/Typescript-ASP.NET--EmployeeManagementSystem/Typescript-ASP.NET--EmployeeManagementSystem/dist/Employee_Management_System"
artifactPaths: '${{ env.OUT_DIR }}/my-app'

- name: Artifact, Checkout
uses: ouzi-dev/[email protected]
uses: actions/download-artifact@v4
with:
target: '${{ github.workspace }}/${{ env.OUT_DIR }}/Employee_Management_System'
- name: Attest
uses: actions/[email protected]
name: "Employee_Management_System"

- name: Attest Build Provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: '${{ github.workspace }}/${{ env.OUT_DIR }}/Employee_Management_System'
subject-path: '${{ env.OUT_DIR }}/my-app'
name: "Employee_Management_System"

0 comments on commit 4197e25

Please sign in to comment.