File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1212 name : Build and Test
1313 runs-on : ubuntu-latest
1414 permissions :
15- id-token : write # Required for the attestations step
15+ id-token : write # OIDC token for the attestations step
1616 attestations : write # Required for the attestations step
1717 outputs :
1818 sha256 : ${{ steps.checksums.outputs.sha256 }}
6767 deploy-central :
6868 name : Deploy to Maven Central
6969 runs-on : ubuntu-latest
70- permissions : {}
70+ permissions :
71+ id-token : write # OIDC token for sigstore signing
72+ contents : read # Required for sigstore signing
7173 needs : [build]
7274 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
7375 steps :
99101 runs-on : ubuntu-latest
100102 permissions :
101103 packages : write # Required for the deploy to GitHub Packages step
104+ id-token : write # OIDC token for sigstore signing
105+ contents : read # Required for sigstore signing
102106 needs : [build]
103107 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
104108 steps :
Original file line number Diff line number Diff line change 325325 </execution >
326326 </executions >
327327 </plugin >
328+ <plugin >
329+ <groupId >dev.sigstore</groupId >
330+ <artifactId >sigstore-maven-plugin</artifactId >
331+ <version >2.0.0-rc2</version >
332+ <executions >
333+ <execution >
334+ <id >sign</id >
335+ <goals >
336+ <goal >sign</goal >
337+ </goals >
338+ </execution >
339+ </executions >
340+ </plugin >
328341 </plugins >
329342 </build >
330343 </profile >
You can’t perform that action at this time.
0 commit comments