mirror of
https://github.com/gradle/actions.git
synced 2025-04-20 09:49:19 +08:00
parent
1371d49f1d
commit
46308b920a
@ -828,3 +828,21 @@ To publish to https://scans.gradle.com, you must specify in your workflow that y
|
||||
- name: Run a Gradle build - a build scan will be published automatically
|
||||
run: ./gradlew build
|
||||
```
|
||||
|
||||
# Dependency verification
|
||||
|
||||
Develocity injection, Build Scan publishing and Dependency Graph generation all work by applying external plugins to your build.
|
||||
If you project has [dependency verification enabled](https://docs.gradle.org/current/userguide/dependency_verification.html#sec:signature-verification),
|
||||
then you'll need to update your verification metadata to trust these plugins.
|
||||
|
||||
Each of the plugins is signed by Gradle, and you can simply add the following snippet to your `dependency-verificaton.xml` file:
|
||||
|
||||
```xml
|
||||
<trusted-keys>
|
||||
<trusted-key id="7B79ADD11F8A779FE90FD3D0893A028475557671">
|
||||
<trusting group="com.gradle"/>
|
||||
<trusting group="org.gradle"/>
|
||||
</trusted-key>
|
||||
</trusted-keys>
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user