Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add updatePolicy and checksumPolicy to full usage example
  • Loading branch information
zteater authored Oct 1, 2021
1 parent d8dda26 commit b139582
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,14 @@ The generated `settings.xml` will be created at `/home/runner/work/{repo}/foo/cu
"name": "some-repository-name",
"url": "http://some.repository.url",
"releases": {
"enabled": "true"
"enabled": "true",
"updatePolicy": "always",
"checksumPolicy": "fail"
},
"snapshots": {
"enabled": "false"
"enabled": "false",
"updatePolicy": "always",
"checksumPolicy": "fail"
}
}
]
Expand Down Expand Up @@ -281,9 +285,13 @@ The generated `settings.xml` will be created at `/home/runner/work/{repo}/foo/cu
<url>http://some.repository.url</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
Expand Down

0 comments on commit b139582

Please sign in to comment.