File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1414 build-linux :
1515 name : Build for ${{matrix.target}}
1616 runs-on : ubuntu-latest
17+ permissions :
18+ id-token : write
19+ contents : read
20+ attestations : write
1721 strategy :
1822 fail-fast : false
1923 matrix :
3943 run : |
4044 mv target/${{ matrix.target }}/release/parseable Parseable_OSS_${{ matrix.target }}
4145
46+ - name : Generate artifact attestation
47+ uses : actions/attest-build-provenance@v1
48+ with :
49+ subject-path : Parseable_OSS_${{ matrix.target }}
50+
4251 - name : Create Artifact
4352 uses : actions/upload-artifact@v4
4453 with :
5665
5766 build-windows :
5867 runs-on : windows-latest
68+ permissions :
69+ id-token : write
70+ contents : read
71+ attestations : write
5972 steps :
6073 - name : Checkout
6174 uses : actions/checkout@v1
7588 run : |
7689 mv target/x86_64-pc-windows-msvc/release/PARSEABLE.exe Parseable_OSS_x86_64-pc-windows-msvc.exe
7790
91+ - name : Generate artifact attestation
92+ uses : actions/attest-build-provenance@v1
93+ with :
94+ subject-path : Parseable_OSS_x86_64-pc-windows-msvc.exe
95+
7896 - name : Create artifact for Windows
7997 uses : actions/upload-artifact@v4
8098 with :
@@ -92,6 +110,10 @@ jobs:
92110
93111 build-mac :
94112 runs-on : macos-latest
113+ permissions :
114+ id-token : write
115+ contents : read
116+ attestations : write
95117 strategy :
96118 matrix :
97119 target :
@@ -120,6 +142,11 @@ jobs:
120142 run : |
121143 mv target/${{ matrix.target }}/release/Parseable Parseable_OSS_${{ matrix.target }}
122144
145+ - name : Generate artifact attestation
146+ uses : actions/attest-build-provenance@v1
147+ with :
148+ subject-path : Parseable_OSS_${{ matrix.target }}
149+
123150 - name : Create artifact
124151 uses : actions/upload-artifact@v4
125152 with :
You can’t perform that action at this time.
0 commit comments